From 3bfdfc205fc9133a2197d6107e3ba545ec0c2ae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Fri, 29 Sep 2023 11:28:17 +0200 Subject: [PATCH] vrclient: Use the new structures in thunks. CW-Bug-Id: #22729 --- vrclient_x64/gen_wrapper.py | 116 +++--- ...cppIVRApplications_IVRApplications_001.cpp | 102 +++-- .../cppIVRApplications_IVRApplications_001.h | 13 +- ...cppIVRApplications_IVRApplications_002.cpp | 98 +++-- .../cppIVRApplications_IVRApplications_002.h | 13 +- ...cppIVRApplications_IVRApplications_003.cpp | 102 +++-- .../cppIVRApplications_IVRApplications_003.h | 13 +- ...cppIVRApplications_IVRApplications_004.cpp | 110 +++--- .../cppIVRApplications_IVRApplications_004.h | 13 +- ...cppIVRApplications_IVRApplications_005.cpp | 116 +++--- .../cppIVRApplications_IVRApplications_005.h | 15 +- ...cppIVRApplications_IVRApplications_006.cpp | 144 ++++--- .../cppIVRApplications_IVRApplications_006.h | 15 +- ...cppIVRApplications_IVRApplications_007.cpp | 140 ++++--- .../cppIVRApplications_IVRApplications_007.h | 15 +- ...VRChaperoneSetup_IVRChaperoneSetup_004.cpp | 68 ++-- ...pIVRChaperoneSetup_IVRChaperoneSetup_004.h | 13 +- ...VRChaperoneSetup_IVRChaperoneSetup_005.cpp | 84 ++--- ...pIVRChaperoneSetup_IVRChaperoneSetup_005.h | 13 +- ...VRChaperoneSetup_IVRChaperoneSetup_006.cpp | 78 ++-- ...pIVRChaperoneSetup_IVRChaperoneSetup_006.h | 13 +- .../cppIVRChaperone_IVRChaperone_002.cpp | 46 +-- .../cppIVRChaperone_IVRChaperone_002.h | 13 +- .../cppIVRChaperone_IVRChaperone_003.cpp | 42 +-- .../cppIVRChaperone_IVRChaperone_003.h | 13 +- .../cppIVRChaperone_IVRChaperone_004.cpp | 44 +-- .../cppIVRChaperone_IVRChaperone_004.h | 13 +- .../cppIVRClientCore_IVRClientCore_002.cpp | 44 +-- .../cppIVRClientCore_IVRClientCore_002.h | 13 +- .../cppIVRClientCore_IVRClientCore_003.cpp | 44 +-- .../cppIVRClientCore_IVRClientCore_003.h | 13 +- .../cppIVRCompositor_IVRCompositor_005.cpp | 90 ++--- .../cppIVRCompositor_IVRCompositor_005.h | 15 +- .../cppIVRCompositor_IVRCompositor_006.cpp | 88 ++--- .../cppIVRCompositor_IVRCompositor_006.h | 15 +- .../cppIVRCompositor_IVRCompositor_007.cpp | 86 ++--- .../cppIVRCompositor_IVRCompositor_007.h | 15 +- .../cppIVRCompositor_IVRCompositor_008.cpp | 104 +++-- .../cppIVRCompositor_IVRCompositor_008.h | 15 +- .../cppIVRCompositor_IVRCompositor_009.cpp | 104 +++-- .../cppIVRCompositor_IVRCompositor_009.h | 19 +- .../cppIVRCompositor_IVRCompositor_010.cpp | 104 +++-- .../cppIVRCompositor_IVRCompositor_010.h | 19 +- .../cppIVRCompositor_IVRCompositor_011.cpp | 96 +++-- .../cppIVRCompositor_IVRCompositor_011.h | 19 +- .../cppIVRCompositor_IVRCompositor_012.cpp | 104 +++-- .../cppIVRCompositor_IVRCompositor_012.h | 19 +- .../cppIVRCompositor_IVRCompositor_013.cpp | 106 +++--- .../cppIVRCompositor_IVRCompositor_013.h | 19 +- .../cppIVRCompositor_IVRCompositor_014.cpp | 110 +++--- .../cppIVRCompositor_IVRCompositor_014.h | 19 +- .../cppIVRCompositor_IVRCompositor_015.cpp | 138 ++++--- .../cppIVRCompositor_IVRCompositor_015.h | 21 +- .../cppIVRCompositor_IVRCompositor_016.cpp | 138 +++---- .../cppIVRCompositor_IVRCompositor_016.h | 21 +- .../cppIVRCompositor_IVRCompositor_017.cpp | 136 +++---- .../cppIVRCompositor_IVRCompositor_017.h | 23 +- .../cppIVRCompositor_IVRCompositor_018.cpp | 142 ++++--- .../cppIVRCompositor_IVRCompositor_018.h | 23 +- .../cppIVRCompositor_IVRCompositor_019.cpp | 150 ++++---- .../cppIVRCompositor_IVRCompositor_019.h | 23 +- .../cppIVRCompositor_IVRCompositor_020.cpp | 152 ++++---- .../cppIVRCompositor_IVRCompositor_020.h | 23 +- .../cppIVRCompositor_IVRCompositor_021.cpp | 158 ++++---- .../cppIVRCompositor_IVRCompositor_021.h | 23 +- .../cppIVRCompositor_IVRCompositor_022.cpp | 170 ++++----- .../cppIVRCompositor_IVRCompositor_022.h | 23 +- .../cppIVRCompositor_IVRCompositor_024.cpp | 176 ++++----- .../cppIVRCompositor_IVRCompositor_024.h | 23 +- .../cppIVRCompositor_IVRCompositor_026.cpp | 188 +++++----- .../cppIVRCompositor_IVRCompositor_026.h | 23 +- .../cppIVRCompositor_IVRCompositor_027.cpp | 188 +++++----- .../cppIVRCompositor_IVRCompositor_027.h | 23 +- ...cppIVRControlPanel_IVRControlPanel_006.cpp | 112 +++--- .../cppIVRControlPanel_IVRControlPanel_006.h | 13 +- ...pIVRDriverManager_IVRDriverManager_001.cpp | 34 +- ...cppIVRDriverManager_IVRDriverManager_001.h | 13 +- ...ExtendedDisplay_IVRExtendedDisplay_001.cpp | 24 +- ...VRExtendedDisplay_IVRExtendedDisplay_001.h | 13 +- .../cppIVRHeadsetView_IVRHeadsetView_001.cpp | 42 +-- .../cppIVRHeadsetView_IVRHeadsetView_001.h | 13 +- .../cppIVRIOBuffer_IVRIOBuffer_001.cpp | 38 +- .../cppIVRIOBuffer_IVRIOBuffer_001.h | 13 +- .../cppIVRIOBuffer_IVRIOBuffer_002.cpp | 42 +-- .../cppIVRIOBuffer_IVRIOBuffer_002.h | 13 +- .../vrclient_x64/cppIVRInput_IVRInput_003.cpp | 148 ++++---- .../vrclient_x64/cppIVRInput_IVRInput_003.h | 27 +- .../vrclient_x64/cppIVRInput_IVRInput_004.cpp | 154 ++++---- .../vrclient_x64/cppIVRInput_IVRInput_004.h | 27 +- .../vrclient_x64/cppIVRInput_IVRInput_005.cpp | 182 ++++----- .../vrclient_x64/cppIVRInput_IVRInput_005.h | 27 +- .../vrclient_x64/cppIVRInput_IVRInput_006.cpp | 198 +++++----- .../vrclient_x64/cppIVRInput_IVRInput_006.h | 29 +- .../vrclient_x64/cppIVRInput_IVRInput_007.cpp | 208 +++++----- .../vrclient_x64/cppIVRInput_IVRInput_007.h | 31 +- .../vrclient_x64/cppIVRInput_IVRInput_010.cpp | 226 +++++------ .../vrclient_x64/cppIVRInput_IVRInput_010.h | 33 +- .../cppIVRMailbox_IVRMailbox_001.cpp | 34 +- .../cppIVRMailbox_IVRMailbox_001.h | 13 +- ...pIVRNotifications_IVRNotifications_001.cpp | 32 +- ...cppIVRNotifications_IVRNotifications_001.h | 15 +- ...pIVRNotifications_IVRNotifications_002.cpp | 28 +- ...cppIVRNotifications_IVRNotifications_002.h | 15 +- .../cppIVROverlayView_IVROverlayView_003.cpp | 61 ++- .../cppIVROverlayView_IVROverlayView_003.h | 21 +- .../cppIVROverlay_IVROverlay_001.cpp | 188 +++++----- .../cppIVROverlay_IVROverlay_001.h | 15 +- .../cppIVROverlay_IVROverlay_002.cpp | 196 +++++----- .../cppIVROverlay_IVROverlay_002.h | 15 +- .../cppIVROverlay_IVROverlay_003.cpp | 210 +++++------ .../cppIVROverlay_IVROverlay_003.h | 15 +- .../cppIVROverlay_IVROverlay_004.cpp | 218 +++++------ .../cppIVROverlay_IVROverlay_004.h | 15 +- .../cppIVROverlay_IVROverlay_005.cpp | 232 ++++++------ .../cppIVROverlay_IVROverlay_005.h | 15 +- .../cppIVROverlay_IVROverlay_007.cpp | 254 ++++++------- .../cppIVROverlay_IVROverlay_007.h | 17 +- .../cppIVROverlay_IVROverlay_008.cpp | 262 ++++++------- .../cppIVROverlay_IVROverlay_008.h | 17 +- .../cppIVROverlay_IVROverlay_010.cpp | 276 +++++++------- .../cppIVROverlay_IVROverlay_010.h | 17 +- .../cppIVROverlay_IVROverlay_011.cpp | 292 +++++++-------- .../cppIVROverlay_IVROverlay_011.h | 17 +- .../cppIVROverlay_IVROverlay_012.cpp | 296 +++++++-------- .../cppIVROverlay_IVROverlay_012.h | 17 +- .../cppIVROverlay_IVROverlay_013.cpp | 316 ++++++++-------- .../cppIVROverlay_IVROverlay_013.h | 17 +- .../cppIVROverlay_IVROverlay_014.cpp | 324 ++++++++-------- .../cppIVROverlay_IVROverlay_014.h | 17 +- .../cppIVROverlay_IVROverlay_016.cpp | 346 ++++++++--------- .../cppIVROverlay_IVROverlay_016.h | 17 +- .../cppIVROverlay_IVROverlay_017.cpp | 354 +++++++++--------- .../cppIVROverlay_IVROverlay_017.h | 17 +- .../cppIVROverlay_IVROverlay_018.cpp | 350 +++++++++-------- .../cppIVROverlay_IVROverlay_018.h | 17 +- .../cppIVROverlay_IVROverlay_019.cpp | 350 +++++++++-------- .../cppIVROverlay_IVROverlay_019.h | 17 +- .../cppIVROverlay_IVROverlay_020.cpp | 342 ++++++++--------- .../cppIVROverlay_IVROverlay_020.h | 17 +- .../cppIVROverlay_IVROverlay_021.cpp | 326 ++++++++-------- .../cppIVROverlay_IVROverlay_021.h | 17 +- .../cppIVROverlay_IVROverlay_022.cpp | 350 +++++++++-------- .../cppIVROverlay_IVROverlay_022.h | 17 +- .../cppIVROverlay_IVROverlay_024.cpp | 334 ++++++++--------- .../cppIVROverlay_IVROverlay_024.h | 17 +- .../cppIVROverlay_IVROverlay_025.cpp | 338 ++++++++--------- .../cppIVROverlay_IVROverlay_025.h | 17 +- .../cppIVROverlay_IVROverlay_026.cpp | 350 +++++++++-------- .../cppIVROverlay_IVROverlay_026.h | 17 +- .../cppIVROverlay_IVROverlay_027.cpp | 342 ++++++++--------- .../cppIVROverlay_IVROverlay_027.h | 17 +- ...cppIVRRenderModels_IVRRenderModels_001.cpp | 38 +- .../cppIVRRenderModels_IVRRenderModels_001.h | 17 +- ...cppIVRRenderModels_IVRRenderModels_002.cpp | 89 ++--- .../cppIVRRenderModels_IVRRenderModels_002.h | 23 +- ...cppIVRRenderModels_IVRRenderModels_004.cpp | 95 ++--- .../cppIVRRenderModels_IVRRenderModels_004.h | 23 +- ...cppIVRRenderModels_IVRRenderModels_005.cpp | 111 +++--- .../cppIVRRenderModels_IVRRenderModels_005.h | 23 +- ...cppIVRRenderModels_IVRRenderModels_006.cpp | 115 +++--- .../cppIVRRenderModels_IVRRenderModels_006.h | 23 +- .../cppIVRResources_IVRResources_001.cpp | 26 +- .../cppIVRResources_IVRResources_001.h | 13 +- .../cppIVRScreenshots_IVRScreenshots_001.cpp | 46 +-- .../cppIVRScreenshots_IVRScreenshots_001.h | 13 +- .../cppIVRSettings_IVRSettings_001.cpp | 52 +-- .../cppIVRSettings_IVRSettings_001.h | 13 +- .../cppIVRSettings_IVRSettings_002.cpp | 52 +-- .../cppIVRSettings_IVRSettings_002.h | 13 +- .../cppIVRSettings_IVRSettings_003.cpp | 48 +-- .../cppIVRSettings_IVRSettings_003.h | 13 +- .../cppIVRSystem_IVRSystem_003.cpp | 186 ++++----- .../vrclient_x64/cppIVRSystem_IVRSystem_003.h | 27 +- .../cppIVRSystem_IVRSystem_004.cpp | 174 ++++----- .../vrclient_x64/cppIVRSystem_IVRSystem_004.h | 23 +- .../cppIVRSystem_IVRSystem_005.cpp | 178 ++++----- .../vrclient_x64/cppIVRSystem_IVRSystem_005.h | 23 +- .../cppIVRSystem_IVRSystem_006.cpp | 196 +++++----- .../vrclient_x64/cppIVRSystem_IVRSystem_006.h | 23 +- .../cppIVRSystem_IVRSystem_009.cpp | 194 +++++----- .../vrclient_x64/cppIVRSystem_IVRSystem_009.h | 23 +- .../cppIVRSystem_IVRSystem_010.cpp | 206 +++++----- .../vrclient_x64/cppIVRSystem_IVRSystem_010.h | 23 +- .../cppIVRSystem_IVRSystem_011.cpp | 210 +++++------ .../vrclient_x64/cppIVRSystem_IVRSystem_011.h | 23 +- .../cppIVRSystem_IVRSystem_012.cpp | 206 +++++----- .../vrclient_x64/cppIVRSystem_IVRSystem_012.h | 23 +- .../cppIVRSystem_IVRSystem_014.cpp | 212 +++++------ .../vrclient_x64/cppIVRSystem_IVRSystem_014.h | 23 +- .../cppIVRSystem_IVRSystem_015.cpp | 212 +++++------ .../vrclient_x64/cppIVRSystem_IVRSystem_015.h | 23 +- .../cppIVRSystem_IVRSystem_016.cpp | 214 +++++------ .../vrclient_x64/cppIVRSystem_IVRSystem_016.h | 23 +- .../cppIVRSystem_IVRSystem_017.cpp | 214 +++++------ .../vrclient_x64/cppIVRSystem_IVRSystem_017.h | 23 +- .../cppIVRSystem_IVRSystem_019.cpp | 224 +++++------ .../vrclient_x64/cppIVRSystem_IVRSystem_019.h | 23 +- .../cppIVRSystem_IVRSystem_020.cpp | 228 +++++------ .../vrclient_x64/cppIVRSystem_IVRSystem_020.h | 23 +- .../cppIVRSystem_IVRSystem_021.cpp | 226 +++++------ .../vrclient_x64/cppIVRSystem_IVRSystem_021.h | 23 +- .../cppIVRSystem_IVRSystem_022.cpp | 224 +++++------ .../vrclient_x64/cppIVRSystem_IVRSystem_022.h | 23 +- ...pIVRTrackedCamera_IVRTrackedCamera_001.cpp | 99 +++-- ...cppIVRTrackedCamera_IVRTrackedCamera_001.h | 17 +- ...pIVRTrackedCamera_IVRTrackedCamera_002.cpp | 52 +-- ...cppIVRTrackedCamera_IVRTrackedCamera_002.h | 15 +- ...pIVRTrackedCamera_IVRTrackedCamera_003.cpp | 72 ++-- ...cppIVRTrackedCamera_IVRTrackedCamera_003.h | 19 +- ...pIVRTrackedCamera_IVRTrackedCamera_004.cpp | 102 +++-- ...cppIVRTrackedCamera_IVRTrackedCamera_004.h | 19 +- ...pIVRTrackedCamera_IVRTrackedCamera_005.cpp | 102 +++-- ...cppIVRTrackedCamera_IVRTrackedCamera_005.h | 19 +- ...pIVRTrackedCamera_IVRTrackedCamera_006.cpp | 108 +++--- ...cppIVRTrackedCamera_IVRTrackedCamera_006.h | 19 +- vrclient_x64/vrclient_x64/unix_private.h | 33 ++ .../vrclient_x64/unixlib_generated.cpp | 2 +- vrclient_x64/vrclient_x64/vrclient_defs.h | 8 +- vrclient_x64/vrclient_x64/vrclient_main.c | 11 +- vrclient_x64/vrclient_x64/vrclient_private.h | 10 +- vrclient_x64/vrclient_x64/vrclient_structs.h | 34 ++ .../vrclient_x64/vrcompositor_manual.c | 143 +++---- vrclient_x64/vrclient_x64/vrinput_manual.c | 37 +- vrclient_x64/vrclient_x64/vroverlay_manual.c | 53 ++- .../vrclient_x64/vrrendermodels_manual.c | 75 ++-- vrclient_x64/vrclient_x64/vrsystem_manual.c | 14 +- .../vrclient_x64/winIVRApplications.c | 15 +- vrclient_x64/vrclient_x64/winIVRChaperone.c | 9 +- .../vrclient_x64/winIVRChaperoneSetup.c | 9 +- vrclient_x64/vrclient_x64/winIVRClientCore.c | 9 +- vrclient_x64/vrclient_x64/winIVRCompositor.c | 165 ++++---- .../vrclient_x64/winIVRControlPanel.c | 9 +- .../vrclient_x64/winIVRDriverManager.c | 9 +- .../vrclient_x64/winIVRExtendedDisplay.c | 9 +- vrclient_x64/vrclient_x64/winIVRHeadsetView.c | 9 +- vrclient_x64/vrclient_x64/winIVRIOBuffer.c | 9 +- vrclient_x64/vrclient_x64/winIVRInput.c | 105 +++--- vrclient_x64/vrclient_x64/winIVRMailbox.c | 9 +- .../vrclient_x64/winIVRNotifications.c | 13 +- vrclient_x64/vrclient_x64/winIVROverlay.c | 91 +++-- vrclient_x64/vrclient_x64/winIVROverlayView.c | 15 +- .../vrclient_x64/winIVRRenderModels.c | 53 ++- vrclient_x64/vrclient_x64/winIVRResources.c | 9 +- vrclient_x64/vrclient_x64/winIVRScreenshots.c | 9 +- vrclient_x64/vrclient_x64/winIVRSettings.c | 9 +- vrclient_x64/vrclient_x64/winIVRSystem.c | 173 ++++----- .../vrclient_x64/winIVRTrackedCamera.c | 39 +- 247 files changed, 9496 insertions(+), 10702 deletions(-) create mode 100644 vrclient_x64/vrclient_x64/unix_private.h diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index 857571e5..a4b2957c 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -517,12 +517,11 @@ class Class: out(u'{\n') out(u'#ifdef __cplusplus\n') for method in self.methods: - types = [declspec(p, "", prefix if prefix != "cpp" else None) - for p in method.get_arguments()] + types = [declspec(p, "", prefix) for p in method.get_arguments()] if type(method) is Destructor: out(f' virtual ~{prefix}{self.full_name}( {", ".join(types)} ) = 0;\n') else: - method_name = f'{declspec(method.result_type, "", None)} {method.spelling}' + method_name = f'{declspec(method.result_type, "", prefix)} {method.spelling}' out(f' virtual {method_name}( {", ".join(types)} ) = 0;\n') out(u'#endif /* __cplusplus */\n') out(u'};\n\n') @@ -576,7 +575,7 @@ def param_needs_conversion(decl): def callconv(cursor, prefix): - if type(cursor) is not Cursor or prefix is None: + if type(cursor) is not Cursor: return '' canon = cursor.type.get_canonical() if canon.kind != TypeKind.POINTER: @@ -606,8 +605,7 @@ def declspec(decl, name, prefix, wrapped=False): call = callconv(decl, prefix) if type(decl) is Cursor: decl = decl.type - if 'VRControllerState_t' not in decl.spelling: # FIXME - decl = decl.get_canonical() + decl = decl.get_canonical() const = 'const ' if decl.is_const_qualified() else '' if decl.kind == TypeKind.FUNCTIONPROTO: @@ -633,12 +631,13 @@ def declspec(decl, name, prefix, wrapped=False): if decl.kind == TypeKind.ENUM: return f'uint{decl.get_size() * 8}_t{name}' - type_name = decl.spelling.removeprefix("const ") - type_name = decl.spelling.removeprefix("vr::") + type_name = decl.spelling + type_name = type_name.removeprefix("const ") + type_name = type_name.removeprefix("vr::") if type_name.startswith(('IVR', 'ID3D')): return f'{const}void /*{type_name}*/{name}' - if prefix not in (None, "win") and decl.kind == TypeKind.RECORD \ + if decl.kind == TypeKind.RECORD \ and type_name in all_versions[sdkver] \ and type_name not in EXEMPT_STRUCTS: if type_name in unique_structs: @@ -649,16 +648,6 @@ def declspec(decl, name, prefix, wrapped=False): real_name = real_name.removeprefix("const ") real_name = real_name.removeprefix("vr::") - if prefix == "win" and real_name in SDK_STRUCTS: - type_name = f"win{real_name}_{display_sdkver(sdkver)}" - elif prefix == "win" and struct_needs_conversion(decl.get_canonical()) \ - and not decl.is_const_qualified(): # FIXME - type_name = f"win{real_name}_{display_sdkver(sdkver)}" - else: - type_name = decl.spelling - type_name = type_name.removeprefix("const ") - type_name = type_name.removeprefix("vr::") - if type_name in ('void', 'bool', 'char', 'float', 'double'): return f'{const}{type_name}{name}' if type_name.startswith(('int', 'long', 'short', 'signed')): @@ -673,11 +662,11 @@ def handle_method_hpp(method, cppname, out): returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD ret = "*_ret" if returns_record else "_ret" - ret = f'{declspec(method.result_type, ret, "win")}' + ret = f'{declspec(method.result_type, ret, "w_")}' names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' for i, p in enumerate(method.get_arguments())] - params = [declspec(p, names[i], "win") for i, p in enumerate(method.get_arguments())] + params = [declspec(p, names[i], "w_") for i, p in enumerate(method.get_arguments())] if method.result_type.kind != TypeKind.VOID: params = [ret] + params @@ -705,7 +694,7 @@ def handle_method_cpp(method, classname, cppname, out): out(f'void {cppname}_{method.name}( struct {cppname}_{method.name}_params *params )\n') out(u'{\n') - out(f' struct {cppname} *iface = (struct {cppname} *)params->linux_side;\n') + out(f' struct u_{klass.full_name} *iface = (struct u_{klass.full_name} *)params->linux_side;\n') params = list(zip(names[1:], method.get_arguments())) for i, (name, param) in enumerate(params[:-1]): @@ -732,14 +721,13 @@ def handle_method_cpp(method, classname, cppname, out): type_name = strip_ns(underlying_typename(param)) if param.type.kind != TypeKind.POINTER: - out(f' {declspec(param, f"lin_{name}", None).removeprefix("const ")};\n') - out(f' win_to_lin_struct_{param.type.spelling}_{display_sdkver(sdkver)}( ¶ms->{name}, &lin_{name} );\n') + out(f' {declspec(param, f"u_{name}", "u_")} = params->{name};\n') continue pointee = param.type.get_pointee() if pointee.kind == TypeKind.POINTER: need_output[name] = param - out(f' {declspec(pointee, f"lin_{name}", None).removeprefix("const ")};\n') + out(f' {declspec(pointee, f"u_{name}", "u_")};\n') continue if type_name in SDK_STRUCTS: @@ -749,9 +737,8 @@ def handle_method_cpp(method, classname, cppname, out): if not pointee.is_const_qualified(): need_output[name] = param - out(f' {declspec(pointee, f"lin_{name}", None).removeprefix("const ")};\n') - out(f' if (params->{name})\n') - out(f' struct_{type_name}_{display_sdkver(sdkver)}_win_to_lin( params->{name}, &lin_{name} );\n') + out(f' {declspec(pointee, f"u_{name}", "u_").removeprefix("const ")};\n') + out(f' if (params->{name}) u_{name} = *params->{name};\n') size_fixup = {} size_param = {} @@ -768,12 +755,12 @@ 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( params->{next_name}, (uint32_t)sizeof({real_name}) );\n') + out(f' uint32_t u_{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} = params->{next_name} ? sizeof(lin_{name}) : 0;\n') + out(f' uint32_t u_{next_name} = params->{next_name} ? sizeof(u_{name}) : 0;\n') size_param[name] = f', params->{next_name}' size_fixup[next_name] = True @@ -782,13 +769,13 @@ def handle_method_cpp(method, classname, cppname, out): elif returns_record: out(u' *params->_ret = ') else: - out(u' params->_ret = ') + out(f' params->_ret = ({declspec(method.result_type, "", "w_")})') # FIXME 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( params->{name} )' - if name in need_convert: return f"params->{name} ? {pfx}lin_{name} : nullptr" + if name in size_fixup: return f"u_{name}" + if name in need_unwrap: return f'struct_{all_versions[sdkver][type_name]}_unwrap( params->{name} )' + if name in need_convert: return f"params->{name} ? {pfx}u_{name} : nullptr" return f'params->{name}' params = [param_call(n, p) for n, p in zip(names[1:], method.get_arguments())] @@ -798,10 +785,9 @@ def handle_method_cpp(method, classname, cppname, out): type_name = strip_ns(underlying_typename(param)) if type_name in SDK_STRUCTS: out(u' if (params->_ret == 0)\n') - out(f' *params->{name} = struct_{type_name}_{display_sdkver(sdkver)}_wrap( lin_{name} );\n') + out(f' *params->{name} = struct_{all_versions[sdkver][type_name]}_wrap( u_{name} );\n') continue - 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') + out(f' if (params->{name}) *params->{name} = u_{name};\n') out(u'}\n\n') @@ -825,14 +811,14 @@ def handle_method_c(klass, method, winclassname, cppname, out): returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD ret = "*" if returns_record else "" - ret = f'{declspec(method.result_type, ret, "win")} ' + ret = f'{declspec(method.result_type, ret, "w_")} ' names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' for i, p in enumerate(method.get_arguments())] - params = [declspec(p, names[i], "win") for i, p in enumerate(method.get_arguments())] + params = [declspec(p, names[i], "w_") for i, p in enumerate(method.get_arguments())] if returns_record: - params = [f'{declspec(method.result_type, "*_ret", "win")}'] + params + params = [f'{declspec(method.result_type, "*_ret", "w_")}'] + params names = ['_ret'] + names params = ['struct w_steam_iface *_this'] + params @@ -861,7 +847,7 @@ def handle_method_c(klass, method, winclassname, cppname, out): out(u' TRACE("%p\\n", _this);\n') if 'eTextureType' in names: - out(u' if (eTextureType == API_DirectX) FIXME( "Not implemented Direct3D API!\\n" );\n') + out(u' if (eTextureType == TextureType_DirectX) FIXME( "Not implemented Direct3D API!\\n" );\n') out(f' {cppname}_{method.name}( ¶ms );\n') @@ -900,50 +886,39 @@ def handle_class(klass): with open(f"vrclient_x64/{cppname}.h", "w") as file: out = file.write + out(u'/* This file is auto-generated, do not edit. */\n') + out(u'#include \n') + out(u'#include \n') + out(u'#include \n') + out(u'\n') out(u'#ifdef __cplusplus\n') out(u'extern "C" {\n') - out(u'#endif\n') - - out(f'struct {cppname};\n') + out(u'#endif /* __cplusplus */\n') + out(u'\n') for method in klass.methods: if type(method) is Destructor: continue handle_method_hpp(method, cppname, out) - out(u'#ifdef __cplusplus') - out(u'\n}') - out(u'\n#endif\n') + out(u'#ifdef __cplusplus\n') + out(u'} /* extern "C" */\n') + out(u'#endif /* __cplusplus */\n') with open(f"vrclient_x64/{cppname}.cpp", "w") as file: out = file.write - out(u'#include "vrclient_private.h"\n') - out(u'#include "vrclient_defs.h"\n') - if os.path.isfile(f"openvr_{klass._sdkver}/ivrclientcore.h"): - out(f'#include "openvr_{klass._sdkver}/ivrclientcore.h"\n') - else: - out(f'#include "openvr_{klass._sdkver}/openvr.h"\n') - out(u'using namespace vr;\n') - out(u'extern "C" {\n') - out(u'#include "struct_converters.h"\n') - out(u'}\n') + out(u'/* This file is auto-generated, do not edit. */\n') + out(u'#include "unix_private.h"\n') out(f'#include "{cppname}.h"\n') - out(u'#ifdef __cplusplus\n') - out(u'extern "C" {\n') - out(u'#endif\n\n') - klass.write_definition(out, "cpp") + klass.write_definition(out, "u_") for method in klass.methods: if type(method) is Destructor: continue handle_method_cpp(method, klass.name, cppname, out) - out(u'#ifdef __cplusplus\n') - out(u'}\n') - out(u'#endif\n') - winclassname = f'win{klass.full_name}' with open(f'vrclient_x64/win{klass.name}.c', 'a') as file: out = file.write @@ -1725,16 +1700,9 @@ for klass in all_classes.values(): out(u'#include \n') out(u'#include \n') out(u'\n') - out(u'#include "windef.h"\n') - out(u'#include "winbase.h"\n') - out(u'#include "wine/debug.h"\n') - out(u'\n') - out(u'#include "vrclient_defs.h"\n') - out(u'\n') + out(u'#include "vrclient_structs.h"\n') out(u'#include "vrclient_private.h"\n') out(u'\n') - out(u'#include "struct_converters.h"\n') - out(u'\n') out(u'#include "flatapi.h"\n') out(u'\n') out(u'WINE_DEFAULT_DEBUG_CHANNEL(vrclient);\n') @@ -1857,7 +1825,7 @@ with open('vrclient_x64/unixlib_generated.cpp', 'w') as file: out = file.write out(u'/* This file is auto-generated, do not edit. */\n\n') - out(u'#include "vrclient_structs.h"\n\n') + out(u'#include "unix_private.h"\n\n') for name in sorted(unique_structs, key=struct_order): for sdkver, abis in all_structs[name].items(): diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp index dc43c01e..d37508b7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRApplications_IVRApplications_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRApplications_IVRApplications_001 +struct u_IVRApplications_IVRApplications_001 { #ifdef __cplusplus virtual uint32_t AddApplicationManifest( const char *, bool ) = 0; @@ -39,130 +30,127 @@ struct cppIVRApplications_IVRApplications_001 void cppIVRApplications_IVRApplications_001_AddApplicationManifest( struct cppIVRApplications_IVRApplications_001_AddApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); } void cppIVRApplications_IVRApplications_001_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_001_RemoveApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); } void cppIVRApplications_IVRApplications_001_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_001_IsApplicationInstalled_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (bool)iface->IsApplicationInstalled( params->pchAppKey ); } void cppIVRApplications_IVRApplications_001_GetApplicationCount( struct cppIVRApplications_IVRApplications_001_GetApplicationCount_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetApplicationCount( ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationCount( ); } void cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_001_LaunchApplication( struct cppIVRApplications_IVRApplications_001_LaunchApplication_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->LaunchApplication( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchApplication( params->pchAppKey ); } void cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchDashboardOverlay( params->pchAppKey ); } void cppIVRApplications_IVRApplications_001_IdentifyApplication( struct cppIVRApplications_IVRApplications_001_IdentifyApplication_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); } void cppIVRApplications_IVRApplications_001_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_001_GetApplicationProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationProcessId( params->pchAppKey ); } void cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsErrorNameFromEnum( params->error ); } void cppIVRApplications_IVRApplications_001_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyString_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); } void cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_001_GetHomeApplication( struct cppIVRApplications_IVRApplications_001_GetHomeApplication_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetHomeApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetHomeApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_001_SetHomeApplication( struct cppIVRApplications_IVRApplications_001_SetHomeApplication_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->SetHomeApplication( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHomeApplication( params->pchAppKey ); } void cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); } void cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationAutoLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_001_GetStartingApplication( struct cppIVRApplications_IVRApplications_001_GetStartingApplication_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_001_GetTransitionState( struct cppIVRApplications_IVRApplications_001_GetTransitionState_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetTransitionState( ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransitionState( ); } void cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); } void cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_001 *iface = (struct cppIVRApplications_IVRApplications_001 *)params->linux_side; - params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsTransitionStateNameFromEnum( params->state ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h index e80de16f..14050a7f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRApplications_IVRApplications_001; +#endif /* __cplusplus */ + struct cppIVRApplications_IVRApplications_001_AddApplicationManifest_params { void *linux_side; @@ -184,5 +189,5 @@ struct cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateName extern void cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp index 48e1e8f2..fe612b2e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRApplications_IVRApplications_002.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRApplications_IVRApplications_002 +struct u_IVRApplications_IVRApplications_002 { #ifdef __cplusplus virtual uint32_t AddApplicationManifest( const char *, bool ) = 0; @@ -38,124 +29,121 @@ struct cppIVRApplications_IVRApplications_002 void cppIVRApplications_IVRApplications_002_AddApplicationManifest( struct cppIVRApplications_IVRApplications_002_AddApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); } void cppIVRApplications_IVRApplications_002_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_002_RemoveApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); } void cppIVRApplications_IVRApplications_002_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_002_IsApplicationInstalled_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (bool)iface->IsApplicationInstalled( params->pchAppKey ); } void cppIVRApplications_IVRApplications_002_GetApplicationCount( struct cppIVRApplications_IVRApplications_002_GetApplicationCount_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetApplicationCount( ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationCount( ); } void cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_002_LaunchApplication( struct cppIVRApplications_IVRApplications_002_LaunchApplication_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->LaunchApplication( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchApplication( params->pchAppKey ); } void cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchDashboardOverlay( params->pchAppKey ); } void cppIVRApplications_IVRApplications_002_IdentifyApplication( struct cppIVRApplications_IVRApplications_002_IdentifyApplication_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); } void cppIVRApplications_IVRApplications_002_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_002_GetApplicationProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationProcessId( params->pchAppKey ); } void cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsErrorNameFromEnum( params->error ); } void cppIVRApplications_IVRApplications_002_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyString_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); } void cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); } void cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationAutoLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_002_GetStartingApplication( struct cppIVRApplications_IVRApplications_002_GetStartingApplication_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_002_GetTransitionState( struct cppIVRApplications_IVRApplications_002_GetTransitionState_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetTransitionState( ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransitionState( ); } void cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); } void cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsTransitionStateNameFromEnum( params->state ); } void cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params *params ) { - struct cppIVRApplications_IVRApplications_002 *iface = (struct cppIVRApplications_IVRApplications_002 *)params->linux_side; - params->_ret = iface->IsQuitUserPromptRequested( ); + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = (bool)iface->IsQuitUserPromptRequested( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h index f802561c..40e8c888 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRApplications_IVRApplications_002; +#endif /* __cplusplus */ + struct cppIVRApplications_IVRApplications_002_AddApplicationManifest_params { void *linux_side; @@ -174,5 +179,5 @@ struct cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params extern void cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp index 6fd85d53..ec7c57f4 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRApplications_IVRApplications_003.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRApplications_IVRApplications_003 +struct u_IVRApplications_IVRApplications_003 { #ifdef __cplusplus virtual uint32_t AddApplicationManifest( const char *, bool ) = 0; @@ -39,130 +30,127 @@ struct cppIVRApplications_IVRApplications_003 void cppIVRApplications_IVRApplications_003_AddApplicationManifest( struct cppIVRApplications_IVRApplications_003_AddApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); } void cppIVRApplications_IVRApplications_003_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_003_RemoveApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); } void cppIVRApplications_IVRApplications_003_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_003_IsApplicationInstalled_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (bool)iface->IsApplicationInstalled( params->pchAppKey ); } void cppIVRApplications_IVRApplications_003_GetApplicationCount( struct cppIVRApplications_IVRApplications_003_GetApplicationCount_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationCount( ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationCount( ); } void cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_003_LaunchApplication( struct cppIVRApplications_IVRApplications_003_LaunchApplication_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->LaunchApplication( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchApplication( params->pchAppKey ); } void cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchDashboardOverlay( params->pchAppKey ); } void cppIVRApplications_IVRApplications_003_IdentifyApplication( struct cppIVRApplications_IVRApplications_003_IdentifyApplication_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); } void cppIVRApplications_IVRApplications_003_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_003_GetApplicationProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationProcessId( params->pchAppKey ); } void cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsErrorNameFromEnum( params->error ); } void cppIVRApplications_IVRApplications_003_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyString_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); } void cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint64_t)iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); } void cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationAutoLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_003_GetStartingApplication( struct cppIVRApplications_IVRApplications_003_GetStartingApplication_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_003_GetTransitionState( struct cppIVRApplications_IVRApplications_003_GetTransitionState_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetTransitionState( ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransitionState( ); } void cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); } void cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsTransitionStateNameFromEnum( params->state ); } void cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params *params ) { - struct cppIVRApplications_IVRApplications_003 *iface = (struct cppIVRApplications_IVRApplications_003 *)params->linux_side; - params->_ret = iface->IsQuitUserPromptRequested( ); + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = (bool)iface->IsQuitUserPromptRequested( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h index 39b6cf1a..e3b411d7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRApplications_IVRApplications_003; +#endif /* __cplusplus */ + struct cppIVRApplications_IVRApplications_003_AddApplicationManifest_params { void *linux_side; @@ -184,5 +189,5 @@ struct cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params extern void cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp index 27c6cb45..f5e066eb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRApplications_IVRApplications_004.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRApplications_IVRApplications_004 +struct u_IVRApplications_IVRApplications_004 { #ifdef __cplusplus virtual uint32_t AddApplicationManifest( const char *, bool ) = 0; @@ -41,142 +32,139 @@ struct cppIVRApplications_IVRApplications_004 void cppIVRApplications_IVRApplications_004_AddApplicationManifest( struct cppIVRApplications_IVRApplications_004_AddApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); } void cppIVRApplications_IVRApplications_004_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_004_RemoveApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); } void cppIVRApplications_IVRApplications_004_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_004_IsApplicationInstalled_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (bool)iface->IsApplicationInstalled( params->pchAppKey ); } void cppIVRApplications_IVRApplications_004_GetApplicationCount( struct cppIVRApplications_IVRApplications_004_GetApplicationCount_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationCount( ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationCount( ); } void cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_004_LaunchApplication( struct cppIVRApplications_IVRApplications_004_LaunchApplication_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->LaunchApplication( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchApplication( params->pchAppKey ); } void cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchDashboardOverlay( params->pchAppKey ); } void cppIVRApplications_IVRApplications_004_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_004_CancelApplicationLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->CancelApplicationLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (bool)iface->CancelApplicationLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_004_IdentifyApplication( struct cppIVRApplications_IVRApplications_004_IdentifyApplication_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); } void cppIVRApplications_IVRApplications_004_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_004_GetApplicationProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationProcessId( params->pchAppKey ); } void cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsErrorNameFromEnum( params->error ); } void cppIVRApplications_IVRApplications_004_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyString_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); } void cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint64_t)iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); } void cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationAutoLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_004_GetStartingApplication( struct cppIVRApplications_IVRApplications_004_GetStartingApplication_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_004_GetTransitionState( struct cppIVRApplications_IVRApplications_004_GetTransitionState_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetTransitionState( ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransitionState( ); } void cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); } void cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsTransitionStateNameFromEnum( params->state ); } void cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->IsQuitUserPromptRequested( ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (bool)iface->IsQuitUserPromptRequested( ); } void cppIVRApplications_IVRApplications_004_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_004_LaunchInternalProcess_params *params ) { - struct cppIVRApplications_IVRApplications_004 *iface = (struct cppIVRApplications_IVRApplications_004 *)params->linux_side; - params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h index b5f366ae..79216106 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRApplications_IVRApplications_004; +#endif /* __cplusplus */ + struct cppIVRApplications_IVRApplications_004_AddApplicationManifest_params { void *linux_side; @@ -202,5 +207,5 @@ struct cppIVRApplications_IVRApplications_004_LaunchInternalProcess_params extern void cppIVRApplications_IVRApplications_004_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_004_LaunchInternalProcess_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp index f28fa7c0..d4c8926f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRApplications_IVRApplications_005.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRApplications_IVRApplications_005 +struct u_IVRApplications_IVRApplications_005 { #ifdef __cplusplus virtual uint32_t AddApplicationManifest( const char *, bool ) = 0; @@ -20,7 +11,7 @@ struct cppIVRApplications_IVRApplications_005 virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; virtual uint32_t LaunchApplication( const char * ) = 0; - virtual uint32_t LaunchTemplateApplication( const char *, const char *, const AppOverrideKeys_t *, uint32_t ) = 0; + virtual uint32_t LaunchTemplateApplication( const char *, const char *, const u_AppOverrideKeys_t *, uint32_t ) = 0; virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; virtual bool CancelApplicationLaunch( const char * ) = 0; virtual uint32_t IdentifyApplication( uint32_t, const char * ) = 0; @@ -42,148 +33,145 @@ struct cppIVRApplications_IVRApplications_005 void cppIVRApplications_IVRApplications_005_AddApplicationManifest( struct cppIVRApplications_IVRApplications_005_AddApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); } void cppIVRApplications_IVRApplications_005_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_005_RemoveApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); } void cppIVRApplications_IVRApplications_005_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_005_IsApplicationInstalled_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (bool)iface->IsApplicationInstalled( params->pchAppKey ); } void cppIVRApplications_IVRApplications_005_GetApplicationCount( struct cppIVRApplications_IVRApplications_005_GetApplicationCount_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationCount( ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationCount( ); } void cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_005_LaunchApplication( struct cppIVRApplications_IVRApplications_005_LaunchApplication_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->LaunchApplication( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchApplication( params->pchAppKey ); } void cppIVRApplications_IVRApplications_005_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_005_LaunchTemplateApplication_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys ); } void cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchDashboardOverlay( params->pchAppKey ); } void cppIVRApplications_IVRApplications_005_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_005_CancelApplicationLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->CancelApplicationLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (bool)iface->CancelApplicationLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_005_IdentifyApplication( struct cppIVRApplications_IVRApplications_005_IdentifyApplication_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); } void cppIVRApplications_IVRApplications_005_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_005_GetApplicationProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationProcessId( params->pchAppKey ); } void cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsErrorNameFromEnum( params->error ); } void cppIVRApplications_IVRApplications_005_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyString_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); } void cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint64_t)iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); } void cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationAutoLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_005_GetStartingApplication( struct cppIVRApplications_IVRApplications_005_GetStartingApplication_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_005_GetTransitionState( struct cppIVRApplications_IVRApplications_005_GetTransitionState_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetTransitionState( ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransitionState( ); } void cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); } void cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsTransitionStateNameFromEnum( params->state ); } void cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->IsQuitUserPromptRequested( ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (bool)iface->IsQuitUserPromptRequested( ); } void cppIVRApplications_IVRApplications_005_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_005_LaunchInternalProcess_params *params ) { - struct cppIVRApplications_IVRApplications_005 *iface = (struct cppIVRApplications_IVRApplications_005 *)params->linux_side; - params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h index 8e47e9ce..561b100a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRApplications_IVRApplications_005; +#endif /* __cplusplus */ + struct cppIVRApplications_IVRApplications_005_AddApplicationManifest_params { void *linux_side; @@ -68,7 +73,7 @@ struct cppIVRApplications_IVRApplications_005_LaunchTemplateApplication_params uint32_t _ret; const char *pchTemplateAppKey; const char *pchNewAppKey; - const AppOverrideKeys_t *pKeys; + const w_AppOverrideKeys_t *pKeys; uint32_t unKeys; }; extern void cppIVRApplications_IVRApplications_005_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_005_LaunchTemplateApplication_params *params ); @@ -213,5 +218,5 @@ struct cppIVRApplications_IVRApplications_005_LaunchInternalProcess_params extern void cppIVRApplications_IVRApplications_005_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_005_LaunchInternalProcess_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp index 393cc53e..e1913087 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.7.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRApplications_IVRApplications_006.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRApplications_IVRApplications_006 +struct u_IVRApplications_IVRApplications_006 { #ifdef __cplusplus virtual uint32_t AddApplicationManifest( const char *, bool ) = 0; @@ -20,7 +11,7 @@ struct cppIVRApplications_IVRApplications_006 virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; virtual uint32_t LaunchApplication( const char * ) = 0; - virtual uint32_t LaunchTemplateApplication( const char *, const char *, const AppOverrideKeys_t *, uint32_t ) = 0; + virtual uint32_t LaunchTemplateApplication( const char *, const char *, const u_AppOverrideKeys_t *, uint32_t ) = 0; virtual uint32_t LaunchApplicationFromMimeType( const char *, const char * ) = 0; virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; virtual bool CancelApplicationLaunch( const char * ) = 0; @@ -49,190 +40,187 @@ struct cppIVRApplications_IVRApplications_006 void cppIVRApplications_IVRApplications_006_AddApplicationManifest( struct cppIVRApplications_IVRApplications_006_AddApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); } void cppIVRApplications_IVRApplications_006_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_006_RemoveApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); } void cppIVRApplications_IVRApplications_006_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_006_IsApplicationInstalled_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (bool)iface->IsApplicationInstalled( params->pchAppKey ); } void cppIVRApplications_IVRApplications_006_GetApplicationCount( struct cppIVRApplications_IVRApplications_006_GetApplicationCount_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationCount( ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationCount( ); } void cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_006_LaunchApplication( struct cppIVRApplications_IVRApplications_006_LaunchApplication_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->LaunchApplication( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchApplication( params->pchAppKey ); } void cppIVRApplications_IVRApplications_006_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_006_LaunchTemplateApplication_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys ); } void cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType( struct cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->LaunchApplicationFromMimeType( params->pchMimeType, params->pchArgs ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchApplicationFromMimeType( params->pchMimeType, params->pchArgs ); } void cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchDashboardOverlay( params->pchAppKey ); } void cppIVRApplications_IVRApplications_006_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_006_CancelApplicationLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->CancelApplicationLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (bool)iface->CancelApplicationLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_006_IdentifyApplication( struct cppIVRApplications_IVRApplications_006_IdentifyApplication_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); } void cppIVRApplications_IVRApplications_006_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_006_GetApplicationProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationProcessId( params->pchAppKey ); } void cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsErrorNameFromEnum( params->error ); } void cppIVRApplications_IVRApplications_006_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyString_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); } void cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint64_t)iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); } void cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationAutoLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->SetDefaultApplicationForMimeType( params->pchAppKey, params->pchMimeType ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDefaultApplicationForMimeType( params->pchAppKey, params->pchMimeType ); } void cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetDefaultApplicationForMimeType( params->pchMimeType, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (bool)iface->GetDefaultApplicationForMimeType( params->pchMimeType, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes( struct cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationSupportedMimeTypes( params->pchAppKey, params->pchMimeTypesBuffer, params->unMimeTypesBuffer ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationSupportedMimeTypes( params->pchAppKey, params->pchMimeTypesBuffer, params->unMimeTypesBuffer ); } void cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType( struct cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationsThatSupportMimeType( params->pchMimeType, params->pchAppKeysThatSupportBuffer, params->unAppKeysThatSupportBuffer ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationsThatSupportMimeType( params->pchMimeType, params->pchAppKeysThatSupportBuffer, params->unAppKeysThatSupportBuffer ); } void cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments( struct cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationLaunchArguments( params->unHandle, params->pchArgs, params->unArgs ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationLaunchArguments( params->unHandle, params->pchArgs, params->unArgs ); } void cppIVRApplications_IVRApplications_006_GetStartingApplication( struct cppIVRApplications_IVRApplications_006_GetStartingApplication_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_006_GetTransitionState( struct cppIVRApplications_IVRApplications_006_GetTransitionState_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetTransitionState( ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransitionState( ); } void cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); } void cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsTransitionStateNameFromEnum( params->state ); } void cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->IsQuitUserPromptRequested( ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (bool)iface->IsQuitUserPromptRequested( ); } void cppIVRApplications_IVRApplications_006_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_006_LaunchInternalProcess_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); } void cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId( struct cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_006 *iface = (struct cppIVRApplications_IVRApplications_006 *)params->linux_side; - params->_ret = iface->GetCurrentSceneProcessId( ); + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneProcessId( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h index 42900e99..b7dd59b1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRApplications_IVRApplications_006; +#endif /* __cplusplus */ + struct cppIVRApplications_IVRApplications_006_AddApplicationManifest_params { void *linux_side; @@ -68,7 +73,7 @@ struct cppIVRApplications_IVRApplications_006_LaunchTemplateApplication_params uint32_t _ret; const char *pchTemplateAppKey; const char *pchNewAppKey; - const AppOverrideKeys_t *pKeys; + const w_AppOverrideKeys_t *pKeys; uint32_t unKeys; }; extern void cppIVRApplications_IVRApplications_006_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_006_LaunchTemplateApplication_params *params ); @@ -278,5 +283,5 @@ struct cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params extern void cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId( struct cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp index f540129f..a01c6a22 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRApplications_IVRApplications_007.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRApplications_IVRApplications_007 +struct u_IVRApplications_IVRApplications_007 { #ifdef __cplusplus virtual uint32_t AddApplicationManifest( const char *, bool ) = 0; @@ -20,7 +11,7 @@ struct cppIVRApplications_IVRApplications_007 virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; virtual uint32_t LaunchApplication( const char * ) = 0; - virtual uint32_t LaunchTemplateApplication( const char *, const char *, const AppOverrideKeys_t *, uint32_t ) = 0; + virtual uint32_t LaunchTemplateApplication( const char *, const char *, const u_AppOverrideKeys_t *, uint32_t ) = 0; virtual uint32_t LaunchApplicationFromMimeType( const char *, const char * ) = 0; virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; virtual bool CancelApplicationLaunch( const char * ) = 0; @@ -48,184 +39,181 @@ struct cppIVRApplications_IVRApplications_007 void cppIVRApplications_IVRApplications_007_AddApplicationManifest( struct cppIVRApplications_IVRApplications_007_AddApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->AddApplicationManifest( params->pchApplicationManifestFullPath, params->bTemporary ); } void cppIVRApplications_IVRApplications_007_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_007_RemoveApplicationManifest_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->RemoveApplicationManifest( params->pchApplicationManifestFullPath ); } void cppIVRApplications_IVRApplications_007_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_007_IsApplicationInstalled_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (bool)iface->IsApplicationInstalled( params->pchAppKey ); } void cppIVRApplications_IVRApplications_007_GetApplicationCount( struct cppIVRApplications_IVRApplications_007_GetApplicationCount_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationCount( ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationCount( ); } void cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_007_LaunchApplication( struct cppIVRApplications_IVRApplications_007_LaunchApplication_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->LaunchApplication( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchApplication( params->pchAppKey ); } void cppIVRApplications_IVRApplications_007_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_007_LaunchTemplateApplication_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys ); } void cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType( struct cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->LaunchApplicationFromMimeType( params->pchMimeType, params->pchArgs ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchApplicationFromMimeType( params->pchMimeType, params->pchArgs ); } void cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchDashboardOverlay( params->pchAppKey ); } void cppIVRApplications_IVRApplications_007_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_007_CancelApplicationLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->CancelApplicationLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (bool)iface->CancelApplicationLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_007_IdentifyApplication( struct cppIVRApplications_IVRApplications_007_IdentifyApplication_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); } void cppIVRApplications_IVRApplications_007_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_007_GetApplicationProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationProcessId( params->pchAppKey ); } void cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (const char *)iface->GetApplicationsErrorNameFromEnum( params->error ); } void cppIVRApplications_IVRApplications_007_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyString_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); } void cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint64_t)iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); } void cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); } void cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationAutoLaunch( params->pchAppKey ); } void cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->SetDefaultApplicationForMimeType( params->pchAppKey, params->pchMimeType ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDefaultApplicationForMimeType( params->pchAppKey, params->pchMimeType ); } void cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetDefaultApplicationForMimeType( params->pchMimeType, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (bool)iface->GetDefaultApplicationForMimeType( params->pchMimeType, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes( struct cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationSupportedMimeTypes( params->pchAppKey, params->pchMimeTypesBuffer, params->unMimeTypesBuffer ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (bool)iface->GetApplicationSupportedMimeTypes( params->pchAppKey, params->pchMimeTypesBuffer, params->unMimeTypesBuffer ); } void cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType( struct cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationsThatSupportMimeType( params->pchMimeType, params->pchAppKeysThatSupportBuffer, params->unAppKeysThatSupportBuffer ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationsThatSupportMimeType( params->pchMimeType, params->pchAppKeysThatSupportBuffer, params->unAppKeysThatSupportBuffer ); } void cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments( struct cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetApplicationLaunchArguments( params->unHandle, params->pchArgs, params->unArgs ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetApplicationLaunchArguments( params->unHandle, params->pchArgs, params->unArgs ); } void cppIVRApplications_IVRApplications_007_GetStartingApplication( struct cppIVRApplications_IVRApplications_007_GetStartingApplication_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); } void cppIVRApplications_IVRApplications_007_GetSceneApplicationState( struct cppIVRApplications_IVRApplications_007_GetSceneApplicationState_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetSceneApplicationState( ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSceneApplicationState( ); } void cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); } void cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum( struct cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetSceneApplicationStateNameFromEnum( params->state ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (const char *)iface->GetSceneApplicationStateNameFromEnum( params->state ); } void cppIVRApplications_IVRApplications_007_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_007_LaunchInternalProcess_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); } void cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId( struct cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params *params ) { - struct cppIVRApplications_IVRApplications_007 *iface = (struct cppIVRApplications_IVRApplications_007 *)params->linux_side; - params->_ret = iface->GetCurrentSceneProcessId( ); + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneProcessId( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h index 6b2142e8..d22f1a18 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRApplications_IVRApplications_007; +#endif /* __cplusplus */ + struct cppIVRApplications_IVRApplications_007_AddApplicationManifest_params { void *linux_side; @@ -68,7 +73,7 @@ struct cppIVRApplications_IVRApplications_007_LaunchTemplateApplication_params uint32_t _ret; const char *pchTemplateAppKey; const char *pchNewAppKey; - const AppOverrideKeys_t *pKeys; + const w_AppOverrideKeys_t *pKeys; uint32_t unKeys; }; extern void cppIVRApplications_IVRApplications_007_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_007_LaunchTemplateApplication_params *params ); @@ -271,5 +276,5 @@ struct cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params extern void cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId( struct cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp index babcbbde..c15955bd 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRChaperoneSetup_IVRChaperoneSetup_004.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 +struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 { #ifdef __cplusplus virtual bool CommitWorkingCopy( uint32_t ) = 0; @@ -34,100 +25,97 @@ struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 void cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; - params->_ret = iface->CommitWorkingCopy( params->configFile ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = (bool)iface->CommitWorkingCopy( params->configFile ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; iface->RevertWorkingCopy( ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; - params->_ret = iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; - params->_ret = iface->GetWorkingPlayAreaRect( params->rect ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingPlayAreaRect( params->rect ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; - params->_ret = iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; - params->_ret = iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = (bool)iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; - params->_ret = iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; - params->_ret = iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; iface->SetWorkingPlayAreaSize( params->sizeX, params->sizeZ ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; iface->SetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->unQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; iface->SetWorkingSeatedZeroPoseToRawTrackingPose( params->pMatSeatedZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; iface->SetWorkingStandingZeroPoseToRawTrackingPose( params->pMatStandingZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; iface->ReloadFromDisk( params->configFile ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; - params->_ret = iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = (bool)iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; iface->SetWorkingWallTagInfo( params->pTagsBuffer, params->unTagCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; - params->_ret = iface->GetLiveWallTagInfo( params->pTagsBuffer, params->punTagCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = (bool)iface->GetLiveWallTagInfo( params->pTagsBuffer, params->punTagCount ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h index 81c8b123..d594081f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRChaperoneSetup_IVRChaperoneSetup_004; +#endif /* __cplusplus */ + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params { void *linux_side; @@ -130,5 +135,5 @@ struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp index d7601914..5324fbab 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRChaperoneSetup_IVRChaperoneSetup_005.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 +struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 { #ifdef __cplusplus virtual bool CommitWorkingCopy( uint32_t ) = 0; @@ -38,124 +29,121 @@ struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 void cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->CommitWorkingCopy( params->configFile ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->CommitWorkingCopy( params->configFile ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; iface->RevertWorkingCopy( ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->GetWorkingPlayAreaRect( params->rect ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingPlayAreaRect( params->rect ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; iface->SetWorkingPlayAreaSize( params->sizeX, params->sizeZ ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; iface->SetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->unQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; iface->SetWorkingSeatedZeroPoseToRawTrackingPose( params->pMatSeatedZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; iface->SetWorkingStandingZeroPoseToRawTrackingPose( params->pMatStandingZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; iface->ReloadFromDisk( params->configFile ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; iface->SetWorkingCollisionBoundsTagsInfo( params->pTagsBuffer, params->unTagCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->GetLiveCollisionBoundsTagsInfo( params->pTagsBuffer, params->punTagCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->GetLiveCollisionBoundsTagsInfo( params->pTagsBuffer, params->punTagCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->SetWorkingPhysicalBoundsInfo( params->pQuadsBuffer, params->unQuadsCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->SetWorkingPhysicalBoundsInfo( params->pQuadsBuffer, params->unQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->GetLivePhysicalBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->GetLivePhysicalBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->ExportLiveToBuffer( params->pBuffer, params->pnBufferLength ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->ExportLiveToBuffer( params->pBuffer, params->pnBufferLength ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; - params->_ret = iface->ImportFromBufferToWorking( params->pBuffer, params->nImportFlags ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = (bool)iface->ImportFromBufferToWorking( params->pBuffer, params->nImportFlags ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h index 29a5f752..4805ad35 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRChaperoneSetup_IVRChaperoneSetup_005; +#endif /* __cplusplus */ + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params { void *linux_side; @@ -166,5 +171,5 @@ struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_para extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp index 071ac1f2..57aa6ec6 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRChaperoneSetup_IVRChaperoneSetup_006.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 +struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 { #ifdef __cplusplus virtual bool CommitWorkingCopy( uint32_t ) = 0; @@ -38,124 +29,121 @@ struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 void cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->CommitWorkingCopy( params->configFile ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->CommitWorkingCopy( params->configFile ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->RevertWorkingCopy( ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->GetWorkingPlayAreaRect( params->rect ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingPlayAreaRect( params->rect ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->SetWorkingPlayAreaSize( params->sizeX, params->sizeZ ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->SetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->unQuadsCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->SetWorkingPerimeter( params->pPointBuffer, params->unPointCount ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->SetWorkingSeatedZeroPoseToRawTrackingPose( params->pMatSeatedZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->SetWorkingStandingZeroPoseToRawTrackingPose( params->pMatStandingZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->ReloadFromDisk( params->configFile ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->ExportLiveToBuffer( params->pBuffer, params->pnBufferLength ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->ExportLiveToBuffer( params->pBuffer, params->pnBufferLength ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; - params->_ret = iface->ImportFromBufferToWorking( params->pBuffer, params->nImportFlags ); + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = (bool)iface->ImportFromBufferToWorking( params->pBuffer, params->nImportFlags ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->ShowWorkingSetPreview( ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->HideWorkingSetPreview( ); } void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params *params ) { - struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct cppIVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; iface->RoomSetupStarting( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h index 9d03a7b2..14b8b587 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRChaperoneSetup_IVRChaperoneSetup_006; +#endif /* __cplusplus */ + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params { void *linux_side; @@ -157,5 +162,5 @@ struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp index 5074f45f..2145bb26 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRChaperone_IVRChaperone_002.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRChaperone_IVRChaperone_002 +struct u_IVRChaperone_IVRChaperone_002 { #ifdef __cplusplus virtual uint32_t GetCalibrationState( ) = 0; @@ -27,58 +18,55 @@ struct cppIVRChaperone_IVRChaperone_002 void cppIVRChaperone_IVRChaperone_002_GetCalibrationState( struct cppIVRChaperone_IVRChaperone_002_GetCalibrationState_params *params ) { - struct cppIVRChaperone_IVRChaperone_002 *iface = (struct cppIVRChaperone_IVRChaperone_002 *)params->linux_side; - params->_ret = iface->GetCalibrationState( ); + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCalibrationState( ); } void cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo( struct cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params *params ) { - struct cppIVRChaperone_IVRChaperone_002 *iface = (struct cppIVRChaperone_IVRChaperone_002 *)params->linux_side; - params->_ret = iface->GetSoftBoundsInfo( params->pInfo ); + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = (bool)iface->GetSoftBoundsInfo( params->pInfo ); } void cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo( struct cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params *params ) { - struct cppIVRChaperone_IVRChaperone_002 *iface = (struct cppIVRChaperone_IVRChaperone_002 *)params->linux_side; - params->_ret = iface->GetHardBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = (bool)iface->GetHardBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); } void cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo( struct cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params *params ) { - struct cppIVRChaperone_IVRChaperone_002 *iface = (struct cppIVRChaperone_IVRChaperone_002 *)params->linux_side; - params->_ret = iface->GetSeatedBoundsInfo( params->pInfo ); + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = (bool)iface->GetSeatedBoundsInfo( params->pInfo ); } void cppIVRChaperone_IVRChaperone_002_ReloadInfo( struct cppIVRChaperone_IVRChaperone_002_ReloadInfo_params *params ) { - struct cppIVRChaperone_IVRChaperone_002 *iface = (struct cppIVRChaperone_IVRChaperone_002 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; iface->ReloadInfo( ); } void cppIVRChaperone_IVRChaperone_002_SetSceneColor( struct cppIVRChaperone_IVRChaperone_002_SetSceneColor_params *params ) { - struct cppIVRChaperone_IVRChaperone_002 *iface = (struct cppIVRChaperone_IVRChaperone_002 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; iface->SetSceneColor( params->color ); } void cppIVRChaperone_IVRChaperone_002_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_002_GetBoundsColor_params *params ) { - struct cppIVRChaperone_IVRChaperone_002 *iface = (struct cppIVRChaperone_IVRChaperone_002 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; iface->GetBoundsColor( params->pOutputColorArray, params->nNumOutputColors ); } void cppIVRChaperone_IVRChaperone_002_AreBoundsVisible( struct cppIVRChaperone_IVRChaperone_002_AreBoundsVisible_params *params ) { - struct cppIVRChaperone_IVRChaperone_002 *iface = (struct cppIVRChaperone_IVRChaperone_002 *)params->linux_side; - params->_ret = iface->AreBoundsVisible( ); + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = (bool)iface->AreBoundsVisible( ); } void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible_params *params ) { - struct cppIVRChaperone_IVRChaperone_002 *iface = (struct cppIVRChaperone_IVRChaperone_002 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; iface->ForceBoundsVisible( params->bForce ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h index d059e615..03193147 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRChaperone_IVRChaperone_002; +#endif /* __cplusplus */ + struct cppIVRChaperone_IVRChaperone_002_GetCalibrationState_params { void *linux_side; @@ -70,5 +75,5 @@ struct cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible_params extern void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp index b344eed0..826fb46e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.12.5/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRChaperone_IVRChaperone_003.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRChaperone_IVRChaperone_003 +struct u_IVRChaperone_IVRChaperone_003 { #ifdef __cplusplus virtual uint32_t GetCalibrationState( ) = 0; @@ -26,52 +17,49 @@ struct cppIVRChaperone_IVRChaperone_003 void cppIVRChaperone_IVRChaperone_003_GetCalibrationState( struct cppIVRChaperone_IVRChaperone_003_GetCalibrationState_params *params ) { - struct cppIVRChaperone_IVRChaperone_003 *iface = (struct cppIVRChaperone_IVRChaperone_003 *)params->linux_side; - params->_ret = iface->GetCalibrationState( ); + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCalibrationState( ); } void cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize( struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize_params *params ) { - struct cppIVRChaperone_IVRChaperone_003 *iface = (struct cppIVRChaperone_IVRChaperone_003 *)params->linux_side; - params->_ret = iface->GetPlayAreaSize( params->pSizeX, params->pSizeZ ); + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + params->_ret = (bool)iface->GetPlayAreaSize( params->pSizeX, params->pSizeZ ); } void cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect( struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect_params *params ) { - struct cppIVRChaperone_IVRChaperone_003 *iface = (struct cppIVRChaperone_IVRChaperone_003 *)params->linux_side; - params->_ret = iface->GetPlayAreaRect( params->rect ); + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + params->_ret = (bool)iface->GetPlayAreaRect( params->rect ); } void cppIVRChaperone_IVRChaperone_003_ReloadInfo( struct cppIVRChaperone_IVRChaperone_003_ReloadInfo_params *params ) { - struct cppIVRChaperone_IVRChaperone_003 *iface = (struct cppIVRChaperone_IVRChaperone_003 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; iface->ReloadInfo( ); } void cppIVRChaperone_IVRChaperone_003_SetSceneColor( struct cppIVRChaperone_IVRChaperone_003_SetSceneColor_params *params ) { - struct cppIVRChaperone_IVRChaperone_003 *iface = (struct cppIVRChaperone_IVRChaperone_003 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; iface->SetSceneColor( params->color ); } void cppIVRChaperone_IVRChaperone_003_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_003_GetBoundsColor_params *params ) { - struct cppIVRChaperone_IVRChaperone_003 *iface = (struct cppIVRChaperone_IVRChaperone_003 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; iface->GetBoundsColor( params->pOutputColorArray, params->nNumOutputColors, params->flCollisionBoundsFadeDistance, params->pOutputCameraColor ); } void cppIVRChaperone_IVRChaperone_003_AreBoundsVisible( struct cppIVRChaperone_IVRChaperone_003_AreBoundsVisible_params *params ) { - struct cppIVRChaperone_IVRChaperone_003 *iface = (struct cppIVRChaperone_IVRChaperone_003 *)params->linux_side; - params->_ret = iface->AreBoundsVisible( ); + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + params->_ret = (bool)iface->AreBoundsVisible( ); } void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible_params *params ) { - struct cppIVRChaperone_IVRChaperone_003 *iface = (struct cppIVRChaperone_IVRChaperone_003 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; iface->ForceBoundsVisible( params->bForce ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h index 882c5cd7..4493f111 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRChaperone_IVRChaperone_003; +#endif /* __cplusplus */ + struct cppIVRChaperone_IVRChaperone_003_GetCalibrationState_params { void *linux_side; @@ -64,5 +69,5 @@ struct cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible_params extern void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp index bca6f746..72310eed 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRChaperone_IVRChaperone_004.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRChaperone_IVRChaperone_004 +struct u_IVRChaperone_IVRChaperone_004 { #ifdef __cplusplus virtual uint32_t GetCalibrationState( ) = 0; @@ -27,58 +18,55 @@ struct cppIVRChaperone_IVRChaperone_004 void cppIVRChaperone_IVRChaperone_004_GetCalibrationState( struct cppIVRChaperone_IVRChaperone_004_GetCalibrationState_params *params ) { - struct cppIVRChaperone_IVRChaperone_004 *iface = (struct cppIVRChaperone_IVRChaperone_004 *)params->linux_side; - params->_ret = iface->GetCalibrationState( ); + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCalibrationState( ); } void cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize( struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize_params *params ) { - struct cppIVRChaperone_IVRChaperone_004 *iface = (struct cppIVRChaperone_IVRChaperone_004 *)params->linux_side; - params->_ret = iface->GetPlayAreaSize( params->pSizeX, params->pSizeZ ); + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + params->_ret = (bool)iface->GetPlayAreaSize( params->pSizeX, params->pSizeZ ); } void cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect( struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect_params *params ) { - struct cppIVRChaperone_IVRChaperone_004 *iface = (struct cppIVRChaperone_IVRChaperone_004 *)params->linux_side; - params->_ret = iface->GetPlayAreaRect( params->rect ); + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + params->_ret = (bool)iface->GetPlayAreaRect( params->rect ); } void cppIVRChaperone_IVRChaperone_004_ReloadInfo( struct cppIVRChaperone_IVRChaperone_004_ReloadInfo_params *params ) { - struct cppIVRChaperone_IVRChaperone_004 *iface = (struct cppIVRChaperone_IVRChaperone_004 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; iface->ReloadInfo( ); } void cppIVRChaperone_IVRChaperone_004_SetSceneColor( struct cppIVRChaperone_IVRChaperone_004_SetSceneColor_params *params ) { - struct cppIVRChaperone_IVRChaperone_004 *iface = (struct cppIVRChaperone_IVRChaperone_004 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; iface->SetSceneColor( params->color ); } void cppIVRChaperone_IVRChaperone_004_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_004_GetBoundsColor_params *params ) { - struct cppIVRChaperone_IVRChaperone_004 *iface = (struct cppIVRChaperone_IVRChaperone_004 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; iface->GetBoundsColor( params->pOutputColorArray, params->nNumOutputColors, params->flCollisionBoundsFadeDistance, params->pOutputCameraColor ); } void cppIVRChaperone_IVRChaperone_004_AreBoundsVisible( struct cppIVRChaperone_IVRChaperone_004_AreBoundsVisible_params *params ) { - struct cppIVRChaperone_IVRChaperone_004 *iface = (struct cppIVRChaperone_IVRChaperone_004 *)params->linux_side; - params->_ret = iface->AreBoundsVisible( ); + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + params->_ret = (bool)iface->AreBoundsVisible( ); } void cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible_params *params ) { - struct cppIVRChaperone_IVRChaperone_004 *iface = (struct cppIVRChaperone_IVRChaperone_004 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; iface->ForceBoundsVisible( params->bForce ); } void cppIVRChaperone_IVRChaperone_004_ResetZeroPose( struct cppIVRChaperone_IVRChaperone_004_ResetZeroPose_params *params ) { - struct cppIVRChaperone_IVRChaperone_004 *iface = (struct cppIVRChaperone_IVRChaperone_004 *)params->linux_side; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; iface->ResetZeroPose( params->eTrackingUniverseOrigin ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h index ad1861b5..9dda5af1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRChaperone_IVRChaperone_004; +#endif /* __cplusplus */ + struct cppIVRChaperone_IVRChaperone_004_GetCalibrationState_params { void *linux_side; @@ -71,5 +76,5 @@ struct cppIVRChaperone_IVRChaperone_004_ResetZeroPose_params extern void cppIVRChaperone_IVRChaperone_004_ResetZeroPose( struct cppIVRChaperone_IVRChaperone_004_ResetZeroPose_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp index acd747a1..ccf54374 100644 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.9/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRClientCore_IVRClientCore_002.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRClientCore_IVRClientCore_002 +struct u_IVRClientCore_IVRClientCore_002 { #ifdef __cplusplus virtual uint32_t Init( uint32_t ) = 0; @@ -25,46 +16,43 @@ struct cppIVRClientCore_IVRClientCore_002 void cppIVRClientCore_IVRClientCore_002_Init( struct cppIVRClientCore_IVRClientCore_002_Init_params *params ) { - struct cppIVRClientCore_IVRClientCore_002 *iface = (struct cppIVRClientCore_IVRClientCore_002 *)params->linux_side; - params->_ret = iface->Init( params->eApplicationType ); + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = (uint32_t)iface->Init( params->eApplicationType ); } void cppIVRClientCore_IVRClientCore_002_Cleanup( struct cppIVRClientCore_IVRClientCore_002_Cleanup_params *params ) { - struct cppIVRClientCore_IVRClientCore_002 *iface = (struct cppIVRClientCore_IVRClientCore_002 *)params->linux_side; + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; iface->Cleanup( ); } void cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid( struct cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid_params *params ) { - struct cppIVRClientCore_IVRClientCore_002 *iface = (struct cppIVRClientCore_IVRClientCore_002 *)params->linux_side; - params->_ret = iface->IsInterfaceVersionValid( params->pchInterfaceVersion ); + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = (uint32_t)iface->IsInterfaceVersionValid( params->pchInterfaceVersion ); } void cppIVRClientCore_IVRClientCore_002_GetGenericInterface( struct cppIVRClientCore_IVRClientCore_002_GetGenericInterface_params *params ) { - struct cppIVRClientCore_IVRClientCore_002 *iface = (struct cppIVRClientCore_IVRClientCore_002 *)params->linux_side; - params->_ret = iface->GetGenericInterface( params->pchNameAndVersion, params->peError ); + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = (void *)iface->GetGenericInterface( params->pchNameAndVersion, params->peError ); } void cppIVRClientCore_IVRClientCore_002_BIsHmdPresent( struct cppIVRClientCore_IVRClientCore_002_BIsHmdPresent_params *params ) { - struct cppIVRClientCore_IVRClientCore_002 *iface = (struct cppIVRClientCore_IVRClientCore_002 *)params->linux_side; - params->_ret = iface->BIsHmdPresent( ); + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = (bool)iface->BIsHmdPresent( ); } void cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError( struct cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError_params *params ) { - struct cppIVRClientCore_IVRClientCore_002 *iface = (struct cppIVRClientCore_IVRClientCore_002 *)params->linux_side; - params->_ret = iface->GetEnglishStringForHmdError( params->eError ); + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = (const char *)iface->GetEnglishStringForHmdError( params->eError ); } void cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError( struct cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError_params *params ) { - struct cppIVRClientCore_IVRClientCore_002 *iface = (struct cppIVRClientCore_IVRClientCore_002 *)params->linux_side; - params->_ret = iface->GetIDForVRInitError( params->eError ); + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = (const char *)iface->GetIDForVRInitError( params->eError ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h index 1e82bdac..b3fe00bb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRClientCore_IVRClientCore_002; +#endif /* __cplusplus */ + struct cppIVRClientCore_IVRClientCore_002_Init_params { void *linux_side; @@ -57,5 +62,5 @@ struct cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError_params extern void cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError( struct cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp index bb942838..f1919b09 100644 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRClientCore_IVRClientCore_003.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRClientCore_IVRClientCore_003 +struct u_IVRClientCore_IVRClientCore_003 { #ifdef __cplusplus virtual uint32_t Init( uint32_t, const char * ) = 0; @@ -25,46 +16,43 @@ struct cppIVRClientCore_IVRClientCore_003 void cppIVRClientCore_IVRClientCore_003_Init( struct cppIVRClientCore_IVRClientCore_003_Init_params *params ) { - struct cppIVRClientCore_IVRClientCore_003 *iface = (struct cppIVRClientCore_IVRClientCore_003 *)params->linux_side; - params->_ret = iface->Init( params->eApplicationType, params->pStartupInfo ); + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = (uint32_t)iface->Init( params->eApplicationType, params->pStartupInfo ); } void cppIVRClientCore_IVRClientCore_003_Cleanup( struct cppIVRClientCore_IVRClientCore_003_Cleanup_params *params ) { - struct cppIVRClientCore_IVRClientCore_003 *iface = (struct cppIVRClientCore_IVRClientCore_003 *)params->linux_side; + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; iface->Cleanup( ); } void cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid( struct cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid_params *params ) { - struct cppIVRClientCore_IVRClientCore_003 *iface = (struct cppIVRClientCore_IVRClientCore_003 *)params->linux_side; - params->_ret = iface->IsInterfaceVersionValid( params->pchInterfaceVersion ); + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = (uint32_t)iface->IsInterfaceVersionValid( params->pchInterfaceVersion ); } void cppIVRClientCore_IVRClientCore_003_GetGenericInterface( struct cppIVRClientCore_IVRClientCore_003_GetGenericInterface_params *params ) { - struct cppIVRClientCore_IVRClientCore_003 *iface = (struct cppIVRClientCore_IVRClientCore_003 *)params->linux_side; - params->_ret = iface->GetGenericInterface( params->pchNameAndVersion, params->peError ); + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = (void *)iface->GetGenericInterface( params->pchNameAndVersion, params->peError ); } void cppIVRClientCore_IVRClientCore_003_BIsHmdPresent( struct cppIVRClientCore_IVRClientCore_003_BIsHmdPresent_params *params ) { - struct cppIVRClientCore_IVRClientCore_003 *iface = (struct cppIVRClientCore_IVRClientCore_003 *)params->linux_side; - params->_ret = iface->BIsHmdPresent( ); + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = (bool)iface->BIsHmdPresent( ); } void cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError( struct cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError_params *params ) { - struct cppIVRClientCore_IVRClientCore_003 *iface = (struct cppIVRClientCore_IVRClientCore_003 *)params->linux_side; - params->_ret = iface->GetEnglishStringForHmdError( params->eError ); + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = (const char *)iface->GetEnglishStringForHmdError( params->eError ); } void cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError( struct cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError_params *params ) { - struct cppIVRClientCore_IVRClientCore_003 *iface = (struct cppIVRClientCore_IVRClientCore_003 *)params->linux_side; - params->_ret = iface->GetIDForVRInitError( params->eError ); + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = (const char *)iface->GetIDForVRInitError( params->eError ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h index 19a5e5d7..71bf5a48 100644 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRClientCore_IVRClientCore_003; +#endif /* __cplusplus */ + struct cppIVRClientCore_IVRClientCore_003_Init_params { void *linux_side; @@ -58,5 +63,5 @@ struct cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError_params extern void cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError( struct cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp index dc1df995..1b5f76b8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_005.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_005 +struct u_IVRCompositor_IVRCompositor_005 { #ifdef __cplusplus virtual uint32_t GetLastError( char *, uint32_t ) = 0; @@ -27,7 +18,7 @@ struct cppIVRCompositor_IVRCompositor_005 virtual void SetOverlayRaw( void *, uint32_t, uint32_t, uint32_t, Compositor_OverlaySettings * ) = 0; virtual void SetOverlayFromFile( const char *, Compositor_OverlaySettings * ) = 0; virtual void ClearOverlay( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_090 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual void CompositorBringToFront( ) = 0; @@ -42,153 +33,148 @@ struct cppIVRCompositor_IVRCompositor_005 void cppIVRCompositor_IVRCompositor_005_GetLastError( struct cppIVRCompositor_IVRCompositor_005_GetLastError_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; - params->_ret = iface->GetLastError( params->pchBuffer, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastError( params->pchBuffer, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_005_SetVSync( struct cppIVRCompositor_IVRCompositor_005_SetVSync_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->SetVSync( params->bVSync ); } void cppIVRCompositor_IVRCompositor_005_GetVSync( struct cppIVRCompositor_IVRCompositor_005_GetVSync_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; - params->_ret = iface->GetVSync( ); + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = (bool)iface->GetVSync( ); } void cppIVRCompositor_IVRCompositor_005_SetGamma( struct cppIVRCompositor_IVRCompositor_005_SetGamma_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->SetGamma( params->fGamma ); } void cppIVRCompositor_IVRCompositor_005_GetGamma( struct cppIVRCompositor_IVRCompositor_005_GetGamma_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; - params->_ret = iface->GetGamma( ); + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = (float)iface->GetGamma( ); } void cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice( struct cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->SetGraphicsDevice( params->eType, params->pDevice ); } void cppIVRCompositor_IVRCompositor_005_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_005_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->WaitGetPoses( params->pPoseArray, params->unPoseArrayCount ); } void cppIVRCompositor_IVRCompositor_005_Submit( struct cppIVRCompositor_IVRCompositor_005_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->Submit( params->eEye, params->pTexture, params->pBounds ); } void cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults( struct cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->GetOverlayDefaults( params->pSettings ); } void cppIVRCompositor_IVRCompositor_005_SetOverlay( struct cppIVRCompositor_IVRCompositor_005_SetOverlay_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->SetOverlay( params->pTexture, params->pSettings ); } void cppIVRCompositor_IVRCompositor_005_SetOverlayRaw( struct cppIVRCompositor_IVRCompositor_005_SetOverlayRaw_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->SetOverlayRaw( params->buffer, params->width, params->height, params->depth, params->pSettings ); } void cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile( struct cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->SetOverlayFromFile( params->pchFilePath, params->pSettings ); } void cppIVRCompositor_IVRCompositor_005_ClearOverlay( struct cppIVRCompositor_IVRCompositor_005_ClearOverlay_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->ClearOverlay( ); } void cppIVRCompositor_IVRCompositor_005_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_005_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; - Compositor_FrameTiming lin_pTiming; - if (params->pTiming) - struct_Compositor_FrameTiming_091_win_to_lin( params->pTiming, &lin_pTiming ); - params->_ret = iface->GetFrameTiming( params->pTiming ? &lin_pTiming : nullptr, params->unFramesAgo ); - if (params->pTiming) - struct_Compositor_FrameTiming_091_lin_to_win( &lin_pTiming, params->pTiming ); + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + u_Compositor_FrameTiming_090 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; } void cppIVRCompositor_IVRCompositor_005_FadeToColor( struct cppIVRCompositor_IVRCompositor_005_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_005_FadeGrid( struct cppIVRCompositor_IVRCompositor_005_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_005_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_005_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_005_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_005_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_005_CompositorQuit( struct cppIVRCompositor_IVRCompositor_005_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_005_IsFullscreen( struct cppIVRCompositor_IVRCompositor_005_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection( struct cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->pSettings, params->fAspectRatio, params->eOrigin, params->vSource, params->vDirection, params->pvecIntersectionUV, params->pvecIntersectionTrackingSpace ); + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->pSettings, params->fAspectRatio, params->eOrigin, params->vSource, params->vDirection, params->pvecIntersectionUV, params->pvecIntersectionTrackingSpace ); } void cppIVRCompositor_IVRCompositor_005_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_005_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_005_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_005_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_005 *iface = (struct cppIVRCompositor_IVRCompositor_005 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h index d1940db1..d6175159 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_005; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_005_GetLastError_params { void *linux_side; @@ -114,7 +119,7 @@ struct cppIVRCompositor_IVRCompositor_005_GetFrameTiming_params { void *linux_side; bool _ret; - winCompositor_FrameTiming_091 *pTiming; + w_Compositor_FrameTiming_090 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_005_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_005_GetFrameTiming_params *params ); @@ -193,5 +198,5 @@ struct cppIVRCompositor_IVRCompositor_005_GetTrackingSpace_params extern void cppIVRCompositor_IVRCompositor_005_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_005_GetTrackingSpace_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp index 990ea4c2..d10711a2 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_006.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_006 +struct u_IVRCompositor_IVRCompositor_006 { #ifdef __cplusplus virtual uint32_t GetLastError( char *, uint32_t ) = 0; @@ -22,7 +13,7 @@ struct cppIVRCompositor_IVRCompositor_006 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t Submit( uint32_t, void *, VRTextureBounds_t * ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_090 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual void CompositorBringToFront( ) = 0; @@ -38,129 +29,124 @@ struct cppIVRCompositor_IVRCompositor_006 void cppIVRCompositor_IVRCompositor_006_GetLastError( struct cppIVRCompositor_IVRCompositor_006_GetLastError_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - params->_ret = iface->GetLastError( params->pchBuffer, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastError( params->pchBuffer, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_006_SetVSync( struct cppIVRCompositor_IVRCompositor_006_SetVSync_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->SetVSync( params->bVSync ); } void cppIVRCompositor_IVRCompositor_006_GetVSync( struct cppIVRCompositor_IVRCompositor_006_GetVSync_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - params->_ret = iface->GetVSync( ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = (bool)iface->GetVSync( ); } void cppIVRCompositor_IVRCompositor_006_SetGamma( struct cppIVRCompositor_IVRCompositor_006_SetGamma_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->SetGamma( params->fGamma ); } void cppIVRCompositor_IVRCompositor_006_GetGamma( struct cppIVRCompositor_IVRCompositor_006_GetGamma_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - params->_ret = iface->GetGamma( ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = (float)iface->GetGamma( ); } void cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice( struct cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->SetGraphicsDevice( params->eType, params->pDevice ); } void cppIVRCompositor_IVRCompositor_006_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_006_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_006_Submit( struct cppIVRCompositor_IVRCompositor_006_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds ); } void cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_006_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_006_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - Compositor_FrameTiming lin_pTiming; - if (params->pTiming) - struct_Compositor_FrameTiming_092_win_to_lin( params->pTiming, &lin_pTiming ); - params->_ret = iface->GetFrameTiming( params->pTiming ? &lin_pTiming : nullptr, params->unFramesAgo ); - if (params->pTiming) - struct_Compositor_FrameTiming_092_lin_to_win( &lin_pTiming, params->pTiming ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + u_Compositor_FrameTiming_090 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; } void cppIVRCompositor_IVRCompositor_006_FadeToColor( struct cppIVRCompositor_IVRCompositor_006_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_006_FadeGrid( struct cppIVRCompositor_IVRCompositor_006_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_006_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_006_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_006_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_006_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_006_CompositorQuit( struct cppIVRCompositor_IVRCompositor_006_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_006_IsFullscreen( struct cppIVRCompositor_IVRCompositor_006_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_006_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_006_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_006_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_006_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_006_CanRenderScene( struct cppIVRCompositor_IVRCompositor_006_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_006 *iface = (struct cppIVRCompositor_IVRCompositor_006 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h index 6b61ebd8..bcfcad56 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_006; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_006_GetLastError_params { void *linux_side; @@ -78,7 +83,7 @@ struct cppIVRCompositor_IVRCompositor_006_GetFrameTiming_params { void *linux_side; bool _ret; - winCompositor_FrameTiming_092 *pTiming; + w_Compositor_FrameTiming_090 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_006_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_006_GetFrameTiming_params *params ); @@ -157,5 +162,5 @@ struct cppIVRCompositor_IVRCompositor_006_CanRenderScene_params extern void cppIVRCompositor_IVRCompositor_006_CanRenderScene( struct cppIVRCompositor_IVRCompositor_006_CanRenderScene_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp index 2187c535..c23309bc 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_007.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_007 +struct u_IVRCompositor_IVRCompositor_007 { #ifdef __cplusplus virtual uint32_t GetLastError( char *, uint32_t ) = 0; @@ -21,7 +12,7 @@ struct cppIVRCompositor_IVRCompositor_007 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t Submit( uint32_t, uint32_t, void *, const VRTextureBounds_t * ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_093 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual void CompositorBringToFront( ) = 0; @@ -37,123 +28,118 @@ struct cppIVRCompositor_IVRCompositor_007 void cppIVRCompositor_IVRCompositor_007_GetLastError( struct cppIVRCompositor_IVRCompositor_007_GetLastError_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - params->_ret = iface->GetLastError( params->pchBuffer, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastError( params->pchBuffer, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_007_SetVSync( struct cppIVRCompositor_IVRCompositor_007_SetVSync_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; iface->SetVSync( params->bVSync ); } void cppIVRCompositor_IVRCompositor_007_GetVSync( struct cppIVRCompositor_IVRCompositor_007_GetVSync_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - params->_ret = iface->GetVSync( ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = (bool)iface->GetVSync( ); } void cppIVRCompositor_IVRCompositor_007_SetGamma( struct cppIVRCompositor_IVRCompositor_007_SetGamma_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; iface->SetGamma( params->fGamma ); } void cppIVRCompositor_IVRCompositor_007_GetGamma( struct cppIVRCompositor_IVRCompositor_007_GetGamma_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - params->_ret = iface->GetGamma( ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = (float)iface->GetGamma( ); } void cppIVRCompositor_IVRCompositor_007_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_007_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_007_Submit( struct cppIVRCompositor_IVRCompositor_007_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->eTextureType, params->pTexture, params->pBounds ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->eTextureType, params->pTexture, params->pBounds ); } void cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_007_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_007_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - Compositor_FrameTiming lin_pTiming; - if (params->pTiming) - struct_Compositor_FrameTiming_098_win_to_lin( params->pTiming, &lin_pTiming ); - params->_ret = iface->GetFrameTiming( params->pTiming ? &lin_pTiming : nullptr, params->unFramesAgo ); - if (params->pTiming) - struct_Compositor_FrameTiming_098_lin_to_win( &lin_pTiming, params->pTiming ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + u_Compositor_FrameTiming_093 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; } void cppIVRCompositor_IVRCompositor_007_FadeToColor( struct cppIVRCompositor_IVRCompositor_007_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_007_FadeGrid( struct cppIVRCompositor_IVRCompositor_007_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_007_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_007_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_007_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_007_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_007_CompositorQuit( struct cppIVRCompositor_IVRCompositor_007_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_007_IsFullscreen( struct cppIVRCompositor_IVRCompositor_007_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_007_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_007_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_007_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_007_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_007_CanRenderScene( struct cppIVRCompositor_IVRCompositor_007_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_007 *iface = (struct cppIVRCompositor_IVRCompositor_007 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h index 7d5ce285..636c24a9 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_007; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_007_GetLastError_params { void *linux_side; @@ -71,7 +76,7 @@ struct cppIVRCompositor_IVRCompositor_007_GetFrameTiming_params { void *linux_side; bool _ret; - winCompositor_FrameTiming_098 *pTiming; + w_Compositor_FrameTiming_093 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_007_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_007_GetFrameTiming_params *params ); @@ -150,5 +155,5 @@ struct cppIVRCompositor_IVRCompositor_007_CanRenderScene_params extern void cppIVRCompositor_IVRCompositor_007_CanRenderScene( struct cppIVRCompositor_IVRCompositor_007_CanRenderScene_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp index 91940775..bc0ed3ef 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_008.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_008 +struct u_IVRCompositor_IVRCompositor_008 { #ifdef __cplusplus virtual uint32_t GetLastError( char *, uint32_t ) = 0; @@ -21,7 +12,7 @@ struct cppIVRCompositor_IVRCompositor_008 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t Submit( uint32_t, uint32_t, void *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_093 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual void SetSkyboxOverride( uint32_t, void *, void *, void *, void *, void *, void * ) = 0; @@ -44,165 +35,160 @@ struct cppIVRCompositor_IVRCompositor_008 void cppIVRCompositor_IVRCompositor_008_GetLastError( struct cppIVRCompositor_IVRCompositor_008_GetLastError_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->GetLastError( params->pchBuffer, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastError( params->pchBuffer, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_008_SetVSync( struct cppIVRCompositor_IVRCompositor_008_SetVSync_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->SetVSync( params->bVSync ); } void cppIVRCompositor_IVRCompositor_008_GetVSync( struct cppIVRCompositor_IVRCompositor_008_GetVSync_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->GetVSync( ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (bool)iface->GetVSync( ); } void cppIVRCompositor_IVRCompositor_008_SetGamma( struct cppIVRCompositor_IVRCompositor_008_SetGamma_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->SetGamma( params->fGamma ); } void cppIVRCompositor_IVRCompositor_008_GetGamma( struct cppIVRCompositor_IVRCompositor_008_GetGamma_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->GetGamma( ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (float)iface->GetGamma( ); } void cppIVRCompositor_IVRCompositor_008_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_008_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_008_Submit( struct cppIVRCompositor_IVRCompositor_008_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->eTextureType, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->eTextureType, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_008_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_008_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - Compositor_FrameTiming lin_pTiming; - if (params->pTiming) - struct_Compositor_FrameTiming_0910_win_to_lin( params->pTiming, &lin_pTiming ); - params->_ret = iface->GetFrameTiming( params->pTiming ? &lin_pTiming : nullptr, params->unFramesAgo ); - if (params->pTiming) - struct_Compositor_FrameTiming_0910_lin_to_win( &lin_pTiming, params->pTiming ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + u_Compositor_FrameTiming_093 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; } void cppIVRCompositor_IVRCompositor_008_FadeToColor( struct cppIVRCompositor_IVRCompositor_008_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_008_FadeGrid( struct cppIVRCompositor_IVRCompositor_008_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->SetSkyboxOverride( params->eTextureType, params->pFront, params->pBack, params->pLeft, params->pRight, params->pTop, params->pBottom ); } void cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_008_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_008_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_008_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_008_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_008_CompositorQuit( struct cppIVRCompositor_IVRCompositor_008_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_008_IsFullscreen( struct cppIVRCompositor_IVRCompositor_008_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_008_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_008_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_008_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_008_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_008_CanRenderScene( struct cppIVRCompositor_IVRCompositor_008_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_008_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_008_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_008_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_008_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_008 *iface = (struct cppIVRCompositor_IVRCompositor_008 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h index 043d18f4..32fbd8c8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_008; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_008_GetLastError_params { void *linux_side; @@ -72,7 +77,7 @@ struct cppIVRCompositor_IVRCompositor_008_GetFrameTiming_params { void *linux_side; bool _ret; - winCompositor_FrameTiming_0910 *pTiming; + w_Compositor_FrameTiming_093 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_008_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_008_GetFrameTiming_params *params ); @@ -202,5 +207,5 @@ struct cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params extern void cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp index a5a3abab..748ed35e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp @@ -1,30 +1,21 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.13/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_009.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_009 +struct u_IVRCompositor_IVRCompositor_009 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; virtual uint32_t GetTrackingSpace( ) = 0; virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_0913 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -42,153 +33,148 @@ struct cppIVRCompositor_IVRCompositor_009 void cppIVRCompositor_IVRCompositor_009_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_009_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_009_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_009_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_009_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_009_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_009_GetLastPoses( struct cppIVRCompositor_IVRCompositor_009_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_009_Submit( struct cppIVRCompositor_IVRCompositor_009_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_009_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_009_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_009_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_009_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - Compositor_FrameTiming lin_pTiming; - if (params->pTiming) - struct_Compositor_FrameTiming_0913_win_to_lin( params->pTiming, &lin_pTiming ); - params->_ret = iface->GetFrameTiming( params->pTiming ? &lin_pTiming : nullptr, params->unFramesAgo ); - if (params->pTiming) - struct_Compositor_FrameTiming_0913_lin_to_win( &lin_pTiming, params->pTiming ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + u_Compositor_FrameTiming_0913 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; } void cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_009_FadeToColor( struct cppIVRCompositor_IVRCompositor_009_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_009_FadeGrid( struct cppIVRCompositor_IVRCompositor_009_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_009_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_009_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_009_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_009_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_009_CompositorQuit( struct cppIVRCompositor_IVRCompositor_009_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_009_IsFullscreen( struct cppIVRCompositor_IVRCompositor_009_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_009_CanRenderScene( struct cppIVRCompositor_IVRCompositor_009_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_009_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_009_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_009_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_009 *iface = (struct cppIVRCompositor_IVRCompositor_009 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; iface->CompositorDumpImages( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h index 3f2b2736..ed632b29 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_009; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_009_SetTrackingSpace_params { void *linux_side; @@ -43,7 +48,7 @@ struct cppIVRCompositor_IVRCompositor_009_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -65,7 +70,7 @@ struct cppIVRCompositor_IVRCompositor_009_GetFrameTiming_params { void *linux_side; bool _ret; - winCompositor_FrameTiming_0913 *pTiming; + w_Compositor_FrameTiming_0913 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_009_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_009_GetFrameTiming_params *params ); @@ -101,7 +106,7 @@ struct cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride_params *params ); @@ -184,5 +189,5 @@ struct cppIVRCompositor_IVRCompositor_009_CompositorDumpImages_params extern void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_009_CompositorDumpImages_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp index 9f328f8a..ff3e3135 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp @@ -1,30 +1,21 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_010.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_010 +struct u_IVRCompositor_IVRCompositor_010 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; virtual uint32_t GetTrackingSpace( ) = 0; virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_0914 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -42,153 +33,148 @@ struct cppIVRCompositor_IVRCompositor_010 void cppIVRCompositor_IVRCompositor_010_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_010_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_010_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_010_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_010_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_010_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_010_GetLastPoses( struct cppIVRCompositor_IVRCompositor_010_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_010_Submit( struct cppIVRCompositor_IVRCompositor_010_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_010_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_010_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_010_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_010_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - Compositor_FrameTiming lin_pTiming; - if (params->pTiming) - struct_Compositor_FrameTiming_0914_win_to_lin( params->pTiming, &lin_pTiming ); - params->_ret = iface->GetFrameTiming( params->pTiming ? &lin_pTiming : nullptr, params->unFramesAgo ); - if (params->pTiming) - struct_Compositor_FrameTiming_0914_lin_to_win( &lin_pTiming, params->pTiming ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + u_Compositor_FrameTiming_0914 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; } void cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_010_FadeToColor( struct cppIVRCompositor_IVRCompositor_010_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_010_FadeGrid( struct cppIVRCompositor_IVRCompositor_010_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_010_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_010_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_010_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_010_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_010_CompositorQuit( struct cppIVRCompositor_IVRCompositor_010_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_010_IsFullscreen( struct cppIVRCompositor_IVRCompositor_010_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_010_CanRenderScene( struct cppIVRCompositor_IVRCompositor_010_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_010_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_010_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_010_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_010 *iface = (struct cppIVRCompositor_IVRCompositor_010 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; iface->CompositorDumpImages( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h index c6198d9f..fd6ef1f5 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_010; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_010_SetTrackingSpace_params { void *linux_side; @@ -43,7 +48,7 @@ struct cppIVRCompositor_IVRCompositor_010_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -65,7 +70,7 @@ struct cppIVRCompositor_IVRCompositor_010_GetFrameTiming_params { void *linux_side; bool _ret; - winCompositor_FrameTiming_0914 *pTiming; + w_Compositor_FrameTiming_0914 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_010_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_010_GetFrameTiming_params *params ); @@ -101,7 +106,7 @@ struct cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride_params *params ); @@ -184,5 +189,5 @@ struct cppIVRCompositor_IVRCompositor_010_CompositorDumpImages_params extern void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_010_CompositorDumpImages_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp index 3e88b00f..e1bf781a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp @@ -1,30 +1,21 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_011.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_011 +struct u_IVRCompositor_IVRCompositor_011 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; virtual uint32_t GetTrackingSpace( ) = 0; virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_0915 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -42,148 +33,145 @@ struct cppIVRCompositor_IVRCompositor_011 void cppIVRCompositor_IVRCompositor_011_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_011_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_011_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_011_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_011_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_011_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_011_GetLastPoses( struct cppIVRCompositor_IVRCompositor_011_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_011_Submit( struct cppIVRCompositor_IVRCompositor_011_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_011_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_011_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_011_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_011_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_011_FadeToColor( struct cppIVRCompositor_IVRCompositor_011_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_011_FadeGrid( struct cppIVRCompositor_IVRCompositor_011_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_011_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_011_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_011_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_011_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_011_CompositorQuit( struct cppIVRCompositor_IVRCompositor_011_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_011_IsFullscreen( struct cppIVRCompositor_IVRCompositor_011_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_011_CanRenderScene( struct cppIVRCompositor_IVRCompositor_011_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_011_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_011_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_011_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_011 *iface = (struct cppIVRCompositor_IVRCompositor_011 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; iface->CompositorDumpImages( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h index 7b4b928d..91482789 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_011; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_011_SetTrackingSpace_params { void *linux_side; @@ -43,7 +48,7 @@ struct cppIVRCompositor_IVRCompositor_011_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -65,7 +70,7 @@ struct cppIVRCompositor_IVRCompositor_011_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_0915 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_011_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_011_GetFrameTiming_params *params ); @@ -101,7 +106,7 @@ struct cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride_params *params ); @@ -184,5 +189,5 @@ struct cppIVRCompositor_IVRCompositor_011_CompositorDumpImages_params extern void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_011_CompositorDumpImages_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp index acce259d..518f6534 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.17/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_012.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_012 +struct u_IVRCompositor_IVRCompositor_012 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,14 +9,14 @@ struct cppIVRCompositor_IVRCompositor_012 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_0915 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -44,160 +35,157 @@ struct cppIVRCompositor_IVRCompositor_012 void cppIVRCompositor_IVRCompositor_012_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_012_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_012_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_012_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_012_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_012_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_012_GetLastPoses( struct cppIVRCompositor_IVRCompositor_012_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_012_Submit( struct cppIVRCompositor_IVRCompositor_012_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_012_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_012_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_012_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_012_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_012_FadeToColor( struct cppIVRCompositor_IVRCompositor_012_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_012_FadeGrid( struct cppIVRCompositor_IVRCompositor_012_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_012_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_012_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_012_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_012_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_012_CompositorQuit( struct cppIVRCompositor_IVRCompositor_012_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_012_IsFullscreen( struct cppIVRCompositor_IVRCompositor_012_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_012_CanRenderScene( struct cppIVRCompositor_IVRCompositor_012_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_012_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_012_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_012_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_012_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_012 *iface = (struct cppIVRCompositor_IVRCompositor_012 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h index 6732339c..8bc27e5c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_012; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_012_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_012_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_012_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_0915 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_012_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_012_GetFrameTiming_params *params ); @@ -111,7 +116,7 @@ struct cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride_params *params ); @@ -201,5 +206,5 @@ struct cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params extern void cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp index 87647438..06e5d440 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.19/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_013.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_013 +struct u_IVRCompositor_IVRCompositor_013 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,14 +9,14 @@ struct cppIVRCompositor_IVRCompositor_013 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_0915 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -45,166 +36,163 @@ struct cppIVRCompositor_IVRCompositor_013 void cppIVRCompositor_IVRCompositor_013_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_013_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_013_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_013_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_013_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_013_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_013_GetLastPoses( struct cppIVRCompositor_IVRCompositor_013_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_013_Submit( struct cppIVRCompositor_IVRCompositor_013_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_013_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_013_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_013_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_013_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_013_FadeToColor( struct cppIVRCompositor_IVRCompositor_013_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_013_FadeGrid( struct cppIVRCompositor_IVRCompositor_013_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_013_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_013_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_013_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_013_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_013_CompositorQuit( struct cppIVRCompositor_IVRCompositor_013_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_013_IsFullscreen( struct cppIVRCompositor_IVRCompositor_013_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_013_CanRenderScene( struct cppIVRCompositor_IVRCompositor_013_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_013_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_013_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_013_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_013_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_013 *iface = (struct cppIVRCompositor_IVRCompositor_013 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h index 12842295..5d88a2a2 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_013; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_013_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_013_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_013_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_0915 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_013_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_013_GetFrameTiming_params *params ); @@ -111,7 +116,7 @@ struct cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride_params *params ); @@ -208,5 +213,5 @@ struct cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params extern void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp index b86719e6..513f4caa 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.20/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_014.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_014 +struct u_IVRCompositor_IVRCompositor_014 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,14 +9,14 @@ struct cppIVRCompositor_IVRCompositor_014 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_0920 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -47,178 +38,175 @@ struct cppIVRCompositor_IVRCompositor_014 void cppIVRCompositor_IVRCompositor_014_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_014_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_014_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_014_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_014_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_014_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_014_GetLastPoses( struct cppIVRCompositor_IVRCompositor_014_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_014_Submit( struct cppIVRCompositor_IVRCompositor_014_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_014_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_014_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_014_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_014_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_014_FadeToColor( struct cppIVRCompositor_IVRCompositor_014_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_014_FadeGrid( struct cppIVRCompositor_IVRCompositor_014_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_014_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_014_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_014_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_014_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_014_CompositorQuit( struct cppIVRCompositor_IVRCompositor_014_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_014_IsFullscreen( struct cppIVRCompositor_IVRCompositor_014_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_014_CanRenderScene( struct cppIVRCompositor_IVRCompositor_014_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_014_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_014_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_014_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_014_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_014_SuspendRendering( struct cppIVRCompositor_IVRCompositor_014_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_014 *iface = (struct cppIVRCompositor_IVRCompositor_014 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h index 005ff925..4486abe3 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_014; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_014_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_014_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_014_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_0920 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_014_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_014_GetFrameTiming_params *params ); @@ -111,7 +116,7 @@ struct cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride_params *params ); @@ -221,5 +226,5 @@ struct cppIVRCompositor_IVRCompositor_014_SuspendRendering_params extern void cppIVRCompositor_IVRCompositor_014_SuspendRendering( struct cppIVRCompositor_IVRCompositor_014_SuspendRendering_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp index 230bdf6e..467ad6c3 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_015.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_015 +struct u_IVRCompositor_IVRCompositor_015 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,15 +9,15 @@ struct cppIVRCompositor_IVRCompositor_015 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_0920 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -55,226 +46,223 @@ struct cppIVRCompositor_IVRCompositor_015 void cppIVRCompositor_IVRCompositor_015_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_015_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_015_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_015_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_015_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_015_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_015_GetLastPoses( struct cppIVRCompositor_IVRCompositor_015_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_015_Submit( struct cppIVRCompositor_IVRCompositor_015_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_015_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_015_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_015_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_015_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_015_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_015_FadeToColor( struct cppIVRCompositor_IVRCompositor_015_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_015_FadeGrid( struct cppIVRCompositor_IVRCompositor_015_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_015_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_015_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_015_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_015_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_015_CompositorQuit( struct cppIVRCompositor_IVRCompositor_015_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_015_IsFullscreen( struct cppIVRCompositor_IVRCompositor_015_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_015_CanRenderScene( struct cppIVRCompositor_IVRCompositor_015_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_015_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_015_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_015_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_015_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_015_SuspendRendering( struct cppIVRCompositor_IVRCompositor_015_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_015_RequestScreenshot( struct cppIVRCompositor_IVRCompositor_015_RequestScreenshot_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->RequestScreenshot( params->type, params->pchDestinationFileName, params->pchVRDestinationFileName ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->RequestScreenshot( params->type, params->pchDestinationFileName, params->pchVRDestinationFileName ); } void cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType( struct cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetCurrentScreenshotType( ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentScreenshotType( ); } void cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_015 *iface = (struct cppIVRCompositor_IVRCompositor_015 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h index 25b210e7..4964765c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_015; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_015_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_015_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_015_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_0920 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_015_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_015_GetFrameTiming_params *params ); @@ -90,7 +95,7 @@ extern void cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_015_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_015_GetCumulativeStats_params *params ); @@ -119,7 +124,7 @@ struct cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride_params *params ); @@ -289,5 +294,5 @@ struct cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params extern void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp index bf5f81d3..63ad3646 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_016.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_016 +struct u_IVRCompositor_IVRCompositor_016 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,15 +9,15 @@ struct cppIVRCompositor_IVRCompositor_016 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_102 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -53,219 +44,214 @@ struct cppIVRCompositor_IVRCompositor_016 void cppIVRCompositor_IVRCompositor_016_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_016_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_016_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_016_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_016_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_016_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_016_GetLastPoses( struct cppIVRCompositor_IVRCompositor_016_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_016_Submit( struct cppIVRCompositor_IVRCompositor_016_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_016_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_016_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_016_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_016_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - Compositor_FrameTiming lin_pTiming; - if (params->pTiming) - struct_Compositor_FrameTiming_103_win_to_lin( params->pTiming, &lin_pTiming ); - params->_ret = iface->GetFrameTiming( params->pTiming ? &lin_pTiming : nullptr, params->unFramesAgo ); - if (params->pTiming) - struct_Compositor_FrameTiming_103_lin_to_win( &lin_pTiming, params->pTiming ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + u_Compositor_FrameTiming_102 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; } void cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_016_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_016_FadeToColor( struct cppIVRCompositor_IVRCompositor_016_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_016_FadeGrid( struct cppIVRCompositor_IVRCompositor_016_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_016_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_016_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_016_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_016_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_016_CompositorQuit( struct cppIVRCompositor_IVRCompositor_016_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_016_IsFullscreen( struct cppIVRCompositor_IVRCompositor_016_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_016_CanRenderScene( struct cppIVRCompositor_IVRCompositor_016_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_016_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_016_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_016_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_016_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_016_SuspendRendering( struct cppIVRCompositor_IVRCompositor_016_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_016 *iface = (struct cppIVRCompositor_IVRCompositor_016 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h index 5bf4b264..3d1509d9 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_016; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_016_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_016_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_016_GetFrameTiming_params { void *linux_side; bool _ret; - winCompositor_FrameTiming_103 *pTiming; + w_Compositor_FrameTiming_102 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_016_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_016_GetFrameTiming_params *params ); @@ -90,7 +95,7 @@ extern void cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_016_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_016_GetCumulativeStats_params *params ); @@ -119,7 +124,7 @@ struct cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride_params *params ); @@ -272,5 +277,5 @@ struct cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params extern void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp index b35dde0f..6d0b53f8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3a/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_017.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_017 +struct u_IVRCompositor_IVRCompositor_017 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,16 +9,16 @@ struct cppIVRCompositor_IVRCompositor_017 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; - virtual uint32_t GetFrameTimings( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual void FadeGrid( float, bool ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -54,220 +45,217 @@ struct cppIVRCompositor_IVRCompositor_017 void cppIVRCompositor_IVRCompositor_017_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_017_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_017_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_017_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_017_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_017_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_017_GetLastPoses( struct cppIVRCompositor_IVRCompositor_017_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_017_Submit( struct cppIVRCompositor_IVRCompositor_017_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_017_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_017_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_017_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_017_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_017_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_017_GetFrameTimings_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetFrameTimings( params->pTiming, params->nFrames ); } void cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_017_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_017_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_017_FadeToColor( struct cppIVRCompositor_IVRCompositor_017_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_017_FadeGrid( struct cppIVRCompositor_IVRCompositor_017_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_017_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_017_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_017_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_017_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_017_CompositorQuit( struct cppIVRCompositor_IVRCompositor_017_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_017_IsFullscreen( struct cppIVRCompositor_IVRCompositor_017_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_017_CanRenderScene( struct cppIVRCompositor_IVRCompositor_017_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_017_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_017_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_017_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_017_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_017_SuspendRendering( struct cppIVRCompositor_IVRCompositor_017_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_017 *iface = (struct cppIVRCompositor_IVRCompositor_017 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h index 2cee88bf..400fde10 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_017; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_017_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_017_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_017_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_017_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_017_GetFrameTiming_params *params ); @@ -84,7 +89,7 @@ struct cppIVRCompositor_IVRCompositor_017_GetFrameTimings_params { void *linux_side; uint32_t _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t nFrames; }; extern void cppIVRCompositor_IVRCompositor_017_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_017_GetFrameTimings_params *params ); @@ -99,7 +104,7 @@ extern void cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_017_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_017_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_017_GetCumulativeStats_params *params ); @@ -128,7 +133,7 @@ struct cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride_params *params ); @@ -281,5 +286,5 @@ struct cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params extern void cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp index d506570c..bef4ff39 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.4/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_018.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_018 +struct u_IVRCompositor_IVRCompositor_018 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,18 +9,18 @@ struct cppIVRCompositor_IVRCompositor_018 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; - virtual uint32_t GetFrameTimings( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual HmdColor_t GetCurrentFadeColor( bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual float GetCurrentGridAlpha( ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -56,232 +47,229 @@ struct cppIVRCompositor_IVRCompositor_018 void cppIVRCompositor_IVRCompositor_018_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_018_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_018_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_018_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_018_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_018_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_018_GetLastPoses( struct cppIVRCompositor_IVRCompositor_018_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_018_Submit( struct cppIVRCompositor_IVRCompositor_018_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_018_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_018_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_018_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_018_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_018_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_018_GetFrameTimings_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetFrameTimings( params->pTiming, params->nFrames ); } void cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_018_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_018_FadeToColor( struct cppIVRCompositor_IVRCompositor_018_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); } void cppIVRCompositor_IVRCompositor_018_FadeGrid( struct cppIVRCompositor_IVRCompositor_018_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetCurrentGridAlpha( ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (float)iface->GetCurrentGridAlpha( ); } void cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_018_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_018_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_018_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_018_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_018_CompositorQuit( struct cppIVRCompositor_IVRCompositor_018_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_018_IsFullscreen( struct cppIVRCompositor_IVRCompositor_018_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_018_CanRenderScene( struct cppIVRCompositor_IVRCompositor_018_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_018_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_018_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_018_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_018_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_018_SuspendRendering( struct cppIVRCompositor_IVRCompositor_018_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_018 *iface = (struct cppIVRCompositor_IVRCompositor_018 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h index 0315630c..7f71e093 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_018; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_018_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_018_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_018_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_018_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_018_GetFrameTiming_params *params ); @@ -84,7 +89,7 @@ struct cppIVRCompositor_IVRCompositor_018_GetFrameTimings_params { void *linux_side; uint32_t _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t nFrames; }; extern void cppIVRCompositor_IVRCompositor_018_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_018_GetFrameTimings_params *params ); @@ -99,7 +104,7 @@ extern void cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_018_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_018_GetCumulativeStats_params *params ); @@ -143,7 +148,7 @@ struct cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride_params *params ); @@ -296,5 +301,5 @@ struct cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params extern void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp index e96353b7..0a071098 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.5/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_019.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_019 +struct u_IVRCompositor_IVRCompositor_019 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,18 +9,18 @@ struct cppIVRCompositor_IVRCompositor_019 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; - virtual uint32_t GetFrameTimings( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual HmdColor_t GetCurrentFadeColor( bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual float GetCurrentGridAlpha( ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -58,244 +49,241 @@ struct cppIVRCompositor_IVRCompositor_019 void cppIVRCompositor_IVRCompositor_019_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_019_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_019_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_019_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_019_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_019_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_019_GetLastPoses( struct cppIVRCompositor_IVRCompositor_019_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_019_Submit( struct cppIVRCompositor_IVRCompositor_019_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_019_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_019_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_019_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_019_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_019_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_019_GetFrameTimings_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetFrameTimings( params->pTiming, params->nFrames ); } void cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_019_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_019_FadeToColor( struct cppIVRCompositor_IVRCompositor_019_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); } void cppIVRCompositor_IVRCompositor_019_FadeGrid( struct cppIVRCompositor_IVRCompositor_019_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetCurrentGridAlpha( ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (float)iface->GetCurrentGridAlpha( ); } void cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_019_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_019_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_019_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_019_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_019_CompositorQuit( struct cppIVRCompositor_IVRCompositor_019_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_019_IsFullscreen( struct cppIVRCompositor_IVRCompositor_019_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_019_CanRenderScene( struct cppIVRCompositor_IVRCompositor_019_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_019_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_019_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_019_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_019_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_019_SuspendRendering( struct cppIVRCompositor_IVRCompositor_019_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_019 *iface = (struct cppIVRCompositor_IVRCompositor_019 *)params->linux_side; - params->_ret = iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h index 5d29c1a0..a4aac6a9 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_019; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_019_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_019_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_019_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_019_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_019_GetFrameTiming_params *params ); @@ -84,7 +89,7 @@ struct cppIVRCompositor_IVRCompositor_019_GetFrameTimings_params { void *linux_side; uint32_t _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t nFrames; }; extern void cppIVRCompositor_IVRCompositor_019_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_019_GetFrameTimings_params *params ); @@ -99,7 +104,7 @@ extern void cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_019_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_019_GetCumulativeStats_params *params ); @@ -143,7 +148,7 @@ struct cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride_params *params ); @@ -315,5 +320,5 @@ struct cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_para extern void cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp index b0922456..464cedb8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.9/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_020.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_020 +struct u_IVRCompositor_IVRCompositor_020 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,18 +9,18 @@ struct cppIVRCompositor_IVRCompositor_020 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; - virtual uint32_t GetFrameTimings( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual HmdColor_t GetCurrentFadeColor( bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual float GetCurrentGridAlpha( ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -59,250 +50,247 @@ struct cppIVRCompositor_IVRCompositor_020 void cppIVRCompositor_IVRCompositor_020_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_020_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_020_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_020_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_020_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_020_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_020_GetLastPoses( struct cppIVRCompositor_IVRCompositor_020_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_020_Submit( struct cppIVRCompositor_IVRCompositor_020_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_020_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_020_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_020_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_020_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_020_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_020_GetFrameTimings_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetFrameTimings( params->pTiming, params->nFrames ); } void cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_020_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_020_FadeToColor( struct cppIVRCompositor_IVRCompositor_020_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); } void cppIVRCompositor_IVRCompositor_020_FadeGrid( struct cppIVRCompositor_IVRCompositor_020_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetCurrentGridAlpha( ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (float)iface->GetCurrentGridAlpha( ); } void cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_020_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_020_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_020_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_020_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_020_CompositorQuit( struct cppIVRCompositor_IVRCompositor_020_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_020_IsFullscreen( struct cppIVRCompositor_IVRCompositor_020_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_020_CanRenderScene( struct cppIVRCompositor_IVRCompositor_020_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_020_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_020_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_020_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_020_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_020_SuspendRendering( struct cppIVRCompositor_IVRCompositor_020_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_020 *iface = (struct cppIVRCompositor_IVRCompositor_020 *)params->linux_side; - params->_ret = iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h index 2f8d3c5c..74eaf00c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_020; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_020_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_020_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_020_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_020_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_020_GetFrameTiming_params *params ); @@ -84,7 +89,7 @@ struct cppIVRCompositor_IVRCompositor_020_GetFrameTimings_params { void *linux_side; uint32_t _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t nFrames; }; extern void cppIVRCompositor_IVRCompositor_020_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_020_GetFrameTimings_params *params ); @@ -99,7 +104,7 @@ extern void cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_020_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_020_GetCumulativeStats_params *params ); @@ -143,7 +148,7 @@ struct cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride_params *params ); @@ -322,5 +327,5 @@ struct cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_para extern void cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp index d3124a90..36668683 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.10/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_021.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_021 +struct u_IVRCompositor_IVRCompositor_021 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,18 +9,18 @@ struct cppIVRCompositor_IVRCompositor_021 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; - virtual uint32_t GetFrameTimings( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual HmdColor_t GetCurrentFadeColor( bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual float GetCurrentGridAlpha( ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -61,262 +52,259 @@ struct cppIVRCompositor_IVRCompositor_021 void cppIVRCompositor_IVRCompositor_021_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_021_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_021_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_021_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_021_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_021_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_021_GetLastPoses( struct cppIVRCompositor_IVRCompositor_021_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_021_Submit( struct cppIVRCompositor_IVRCompositor_021_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_021_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_021_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_021_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_021_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_021_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_021_GetFrameTimings_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetFrameTimings( params->pTiming, params->nFrames ); } void cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_021_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_021_FadeToColor( struct cppIVRCompositor_IVRCompositor_021_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); } void cppIVRCompositor_IVRCompositor_021_FadeGrid( struct cppIVRCompositor_IVRCompositor_021_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetCurrentGridAlpha( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (float)iface->GetCurrentGridAlpha( ); } void cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_021_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_021_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_021_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_021_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_021_CompositorQuit( struct cppIVRCompositor_IVRCompositor_021_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_021_IsFullscreen( struct cppIVRCompositor_IVRCompositor_021_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_021_CanRenderScene( struct cppIVRCompositor_IVRCompositor_021_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_021_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_021_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_021_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_021_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_021_SuspendRendering( struct cppIVRCompositor_IVRCompositor_021_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; iface->SetExplicitTimingMode( params->bExplicitTimingMode ); } void cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params *params ) { - struct cppIVRCompositor_IVRCompositor_021 *iface = (struct cppIVRCompositor_IVRCompositor_021 *)params->linux_side; - params->_ret = iface->SubmitExplicitTimingData( ); + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SubmitExplicitTimingData( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h index 087fcc2b..69f0dbff 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_021; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_021_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_021_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_021_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_021_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_021_GetFrameTiming_params *params ); @@ -84,7 +89,7 @@ struct cppIVRCompositor_IVRCompositor_021_GetFrameTimings_params { void *linux_side; uint32_t _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_103a *pTiming; uint32_t nFrames; }; extern void cppIVRCompositor_IVRCompositor_021_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_021_GetFrameTimings_params *params ); @@ -99,7 +104,7 @@ extern void cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_021_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_021_GetCumulativeStats_params *params ); @@ -143,7 +148,7 @@ struct cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride_params *params ); @@ -336,5 +341,5 @@ struct cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params extern void cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp index 49854932..6c177960 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.8.19/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_022.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_022 +struct u_IVRCompositor_IVRCompositor_022 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,18 +9,18 @@ struct cppIVRCompositor_IVRCompositor_022 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; - virtual uint32_t GetFrameTimings( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual HmdColor_t GetCurrentFadeColor( bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual float GetCurrentGridAlpha( ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -64,280 +55,277 @@ struct cppIVRCompositor_IVRCompositor_022 void cppIVRCompositor_IVRCompositor_022_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_022_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_022_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_022_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_022_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_022_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_022_GetLastPoses( struct cppIVRCompositor_IVRCompositor_022_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_022_Submit( struct cppIVRCompositor_IVRCompositor_022_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_022_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_022_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_022_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_022_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_022_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_022_GetFrameTimings_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetFrameTimings( params->pTiming, params->nFrames ); } void cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_022_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_022_FadeToColor( struct cppIVRCompositor_IVRCompositor_022_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); } void cppIVRCompositor_IVRCompositor_022_FadeGrid( struct cppIVRCompositor_IVRCompositor_022_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetCurrentGridAlpha( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (float)iface->GetCurrentGridAlpha( ); } void cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_022_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_022_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_022_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_022_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_022_CompositorQuit( struct cppIVRCompositor_IVRCompositor_022_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_022_IsFullscreen( struct cppIVRCompositor_IVRCompositor_022_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_022_CanRenderScene( struct cppIVRCompositor_IVRCompositor_022_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_022_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_022_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_022_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_022_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_022_SuspendRendering( struct cppIVRCompositor_IVRCompositor_022_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; iface->SetExplicitTimingMode( params->eTimingMode ); } void cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->SubmitExplicitTimingData( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SubmitExplicitTimingData( ); } void cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->IsMotionSmoothingEnabled( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (bool)iface->IsMotionSmoothingEnabled( ); } void cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->IsMotionSmoothingSupported( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (bool)iface->IsMotionSmoothingSupported( ); } void cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params *params ) { - struct cppIVRCompositor_IVRCompositor_022 *iface = (struct cppIVRCompositor_IVRCompositor_022 *)params->linux_side; - params->_ret = iface->IsCurrentSceneFocusAppLoading( ); + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = (bool)iface->IsCurrentSceneFocusAppLoading( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h index 60482382..52d86efb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_022; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_022_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_022_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_022_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_1017 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_022_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_022_GetFrameTiming_params *params ); @@ -84,7 +89,7 @@ struct cppIVRCompositor_IVRCompositor_022_GetFrameTimings_params { void *linux_side; uint32_t _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_1017 *pTiming; uint32_t nFrames; }; extern void cppIVRCompositor_IVRCompositor_022_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_022_GetFrameTimings_params *params ); @@ -99,7 +104,7 @@ extern void cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_022_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_022_GetCumulativeStats_params *params ); @@ -143,7 +148,7 @@ struct cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride_params *params ); @@ -357,5 +362,5 @@ struct cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params extern void cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp index 47f9612f..1909bb27 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.9.16/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_024.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_024 +struct u_IVRCompositor_IVRCompositor_024 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,18 +9,18 @@ struct cppIVRCompositor_IVRCompositor_024 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; - virtual uint32_t GetFrameTimings( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual HmdColor_t GetCurrentFadeColor( bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual float GetCurrentGridAlpha( ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -66,292 +57,289 @@ struct cppIVRCompositor_IVRCompositor_024 void cppIVRCompositor_IVRCompositor_024_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_024_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_024_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_024_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_024_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_024_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_024_GetLastPoses( struct cppIVRCompositor_IVRCompositor_024_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_024_Submit( struct cppIVRCompositor_IVRCompositor_024_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_024_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_024_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_024_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_024_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_024_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_024_GetFrameTimings_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetFrameTimings( params->pTiming, params->nFrames ); } void cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_024_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_024_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_024_FadeToColor( struct cppIVRCompositor_IVRCompositor_024_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); } void cppIVRCompositor_IVRCompositor_024_FadeGrid( struct cppIVRCompositor_IVRCompositor_024_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetCurrentGridAlpha( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (float)iface->GetCurrentGridAlpha( ); } void cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_024_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_024_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_024_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_024_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_024_CompositorQuit( struct cppIVRCompositor_IVRCompositor_024_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_024_IsFullscreen( struct cppIVRCompositor_IVRCompositor_024_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_024_CanRenderScene( struct cppIVRCompositor_IVRCompositor_024_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_024_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_024_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_024_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_024_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_024_SuspendRendering( struct cppIVRCompositor_IVRCompositor_024_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->SetExplicitTimingMode( params->eTimingMode ); } void cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->SubmitExplicitTimingData( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SubmitExplicitTimingData( ); } void cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->IsMotionSmoothingEnabled( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (bool)iface->IsMotionSmoothingEnabled( ); } void cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->IsMotionSmoothingSupported( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (bool)iface->IsMotionSmoothingSupported( ); } void cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->IsCurrentSceneFocusAppLoading( ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (bool)iface->IsCurrentSceneFocusAppLoading( ); } void cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async( struct cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; - params->_ret = iface->SetStageOverride_Async( params->pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings ); + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetStageOverride_Async( params->pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings ); } void cppIVRCompositor_IVRCompositor_024_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_024_ClearStageOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_024 *iface = (struct cppIVRCompositor_IVRCompositor_024 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; iface->ClearStageOverride( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h index 08a282e8..4c7cb4eb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_024; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_024_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_024_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_024_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_1017 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_024_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_024_GetFrameTiming_params *params ); @@ -84,7 +89,7 @@ struct cppIVRCompositor_IVRCompositor_024_GetFrameTimings_params { void *linux_side; uint32_t _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_1017 *pTiming; uint32_t nFrames; }; extern void cppIVRCompositor_IVRCompositor_024_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_024_GetFrameTimings_params *params ); @@ -99,7 +104,7 @@ extern void cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_024_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_024_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_024_GetCumulativeStats_params *params ); @@ -143,7 +148,7 @@ struct cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride_params *params ); @@ -374,5 +379,5 @@ struct cppIVRCompositor_IVRCompositor_024_ClearStageOverride_params extern void cppIVRCompositor_IVRCompositor_024_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_024_ClearStageOverride_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp index 8f6b7839..8eb984ef 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.14.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_026.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_026 +struct u_IVRCompositor_IVRCompositor_026 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,18 +9,18 @@ struct cppIVRCompositor_IVRCompositor_026 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; - virtual uint32_t GetFrameTimings( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual HmdColor_t GetCurrentFadeColor( bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual float GetCurrentGridAlpha( ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -69,310 +60,307 @@ struct cppIVRCompositor_IVRCompositor_026 void cppIVRCompositor_IVRCompositor_026_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_026_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_026_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_026_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_026_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_026_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_026_GetLastPoses( struct cppIVRCompositor_IVRCompositor_026_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_026_Submit( struct cppIVRCompositor_IVRCompositor_026_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_026_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_026_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_026_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_026_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_026_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_026_GetFrameTimings_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetFrameTimings( params->pTiming, params->nFrames ); } void cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_026_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_026_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_026_FadeToColor( struct cppIVRCompositor_IVRCompositor_026_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); } void cppIVRCompositor_IVRCompositor_026_FadeGrid( struct cppIVRCompositor_IVRCompositor_026_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeIn ); } void cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetCurrentGridAlpha( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (float)iface->GetCurrentGridAlpha( ); } void cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_026_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_026_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_026_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_026_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_026_CompositorQuit( struct cppIVRCompositor_IVRCompositor_026_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_026_IsFullscreen( struct cppIVRCompositor_IVRCompositor_026_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_026_CanRenderScene( struct cppIVRCompositor_IVRCompositor_026_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_026_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_026_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_026_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_026_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_026_SuspendRendering( struct cppIVRCompositor_IVRCompositor_026_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->SetExplicitTimingMode( params->eTimingMode ); } void cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->SubmitExplicitTimingData( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SubmitExplicitTimingData( ); } void cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->IsMotionSmoothingEnabled( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->IsMotionSmoothingEnabled( ); } void cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->IsMotionSmoothingSupported( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->IsMotionSmoothingSupported( ); } void cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->IsCurrentSceneFocusAppLoading( ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->IsCurrentSceneFocusAppLoading( ); } void cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async( struct cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->SetStageOverride_Async( params->pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetStageOverride_Async( params->pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings ); } void cppIVRCompositor_IVRCompositor_026_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_026_ClearStageOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; iface->ClearStageOverride( ); } void cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults( struct cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetCompositorBenchmarkResults( params->pBenchmarkResults, params->nSizeOfBenchmarkResults ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (bool)iface->GetCompositorBenchmarkResults( params->pBenchmarkResults, params->nSizeOfBenchmarkResults ); } void cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs( struct cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetLastPosePredictionIDs( params->pRenderPosePredictionID, params->pGamePosePredictionID ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPosePredictionIDs( params->pRenderPosePredictionID, params->pGamePosePredictionID ); } void cppIVRCompositor_IVRCompositor_026_GetPosesForFrame( struct cppIVRCompositor_IVRCompositor_026_GetPosesForFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_026 *iface = (struct cppIVRCompositor_IVRCompositor_026 *)params->linux_side; - params->_ret = iface->GetPosesForFrame( params->unPosePredictionID, params->pPoseArray, params->unPoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPosesForFrame( params->unPosePredictionID, params->pPoseArray, params->unPoseArrayCount ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h index 3efe552e..c9f32b7e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_026; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_026_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_026_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_026_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_1017 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_026_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_026_GetFrameTiming_params *params ); @@ -84,7 +89,7 @@ struct cppIVRCompositor_IVRCompositor_026_GetFrameTimings_params { void *linux_side; uint32_t _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_1017 *pTiming; uint32_t nFrames; }; extern void cppIVRCompositor_IVRCompositor_026_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_026_GetFrameTimings_params *params ); @@ -99,7 +104,7 @@ extern void cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_026_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_100 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_026_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_026_GetCumulativeStats_params *params ); @@ -143,7 +148,7 @@ struct cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride_params *params ); @@ -402,5 +407,5 @@ struct cppIVRCompositor_IVRCompositor_026_GetPosesForFrame_params extern void cppIVRCompositor_IVRCompositor_026_GetPosesForFrame( struct cppIVRCompositor_IVRCompositor_026_GetPosesForFrame_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp index 3242ce30..51b5066a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRCompositor_IVRCompositor_027.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRCompositor_IVRCompositor_027 +struct u_IVRCompositor_IVRCompositor_027 { #ifdef __cplusplus virtual void SetTrackingSpace( uint32_t ) = 0; @@ -18,18 +9,18 @@ struct cppIVRCompositor_IVRCompositor_027 virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; - virtual uint32_t Submit( uint32_t, const Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; virtual void ClearLastSubmittedFrame( ) = 0; virtual void PostPresentHandoff( ) = 0; - virtual bool GetFrameTiming( Compositor_FrameTiming *, uint32_t ) = 0; - virtual uint32_t GetFrameTimings( Compositor_FrameTiming *, uint32_t ) = 0; + virtual bool GetFrameTiming( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; virtual float GetFrameTimeRemaining( ) = 0; - virtual void GetCumulativeStats( Compositor_CumulativeStats *, uint32_t ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_1267 *, uint32_t ) = 0; virtual void FadeToColor( float, float, float, float, float, bool ) = 0; virtual HmdColor_t GetCurrentFadeColor( bool ) = 0; virtual void FadeGrid( float, bool ) = 0; virtual float GetCurrentGridAlpha( ) = 0; - virtual uint32_t SetSkyboxOverride( const Texture_t *, uint32_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; virtual void ClearSkyboxOverride( ) = 0; virtual void CompositorBringToFront( ) = 0; virtual void CompositorGoToBack( ) = 0; @@ -69,310 +60,307 @@ struct cppIVRCompositor_IVRCompositor_027 void cppIVRCompositor_IVRCompositor_027_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_027_SetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->SetTrackingSpace( params->eOrigin ); } void cppIVRCompositor_IVRCompositor_027_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_027_GetTrackingSpace_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetTrackingSpace( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackingSpace( ); } void cppIVRCompositor_IVRCompositor_027_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_027_WaitGetPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_027_GetLastPoses( struct cppIVRCompositor_IVRCompositor_027_GetLastPoses_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); } void cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); } void cppIVRCompositor_IVRCompositor_027_Submit( struct cppIVRCompositor_IVRCompositor_027_Submit_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->Submit( params->eEye, params->pTexture, params->pBounds, params->nSubmitFlags ); } void cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->ClearLastSubmittedFrame( ); } void cppIVRCompositor_IVRCompositor_027_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_027_PostPresentHandoff_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->PostPresentHandoff( ); } void cppIVRCompositor_IVRCompositor_027_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_027_GetFrameTiming_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); } void cppIVRCompositor_IVRCompositor_027_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_027_GetFrameTimings_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetFrameTimings( params->pTiming, params->nFrames ); } void cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetFrameTimeRemaining( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (float)iface->GetFrameTimeRemaining( ); } void cppIVRCompositor_IVRCompositor_027_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_027_GetCumulativeStats_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); } void cppIVRCompositor_IVRCompositor_027_FadeToColor( struct cppIVRCompositor_IVRCompositor_027_FadeToColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); } void cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); } void cppIVRCompositor_IVRCompositor_027_FadeGrid( struct cppIVRCompositor_IVRCompositor_027_FadeGrid_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->FadeGrid( params->fSeconds, params->bFadeGridIn ); } void cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetCurrentGridAlpha( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (float)iface->GetCurrentGridAlpha( ); } void cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSkyboxOverride( params->pTextures, params->unTextureCount ); } void cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->ClearSkyboxOverride( ); } void cppIVRCompositor_IVRCompositor_027_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_027_CompositorBringToFront_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->CompositorBringToFront( ); } void cppIVRCompositor_IVRCompositor_027_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_027_CompositorGoToBack_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->CompositorGoToBack( ); } void cppIVRCompositor_IVRCompositor_027_CompositorQuit( struct cppIVRCompositor_IVRCompositor_027_CompositorQuit_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->CompositorQuit( ); } void cppIVRCompositor_IVRCompositor_027_IsFullscreen( struct cppIVRCompositor_IVRCompositor_027_IsFullscreen_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->IsFullscreen( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->IsFullscreen( ); } void cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetCurrentSceneFocusProcess( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCurrentSceneFocusProcess( ); } void cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetLastFrameRenderer( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastFrameRenderer( ); } void cppIVRCompositor_IVRCompositor_027_CanRenderScene( struct cppIVRCompositor_IVRCompositor_027_CanRenderScene_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->CanRenderScene( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->CanRenderScene( ); } void cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->ShowMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_027_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_027_HideMirrorWindow_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->HideMirrorWindow( ); } void cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->IsMirrorWindowVisible( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->IsMirrorWindowVisible( ); } void cppIVRCompositor_IVRCompositor_027_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_027_CompositorDumpImages_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->CompositorDumpImages( ); } void cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->ShouldAppRenderWithLowResources( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->ShouldAppRenderWithLowResources( ); } void cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->ForceInterleavedReprojectionOn( params->bOverride ); } void cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->ForceReconnectProcess( ); } void cppIVRCompositor_IVRCompositor_027_SuspendRendering( struct cppIVRCompositor_IVRCompositor_027_SuspendRendering_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->SuspendRendering( params->bSuspend ); } void cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); } void cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); } void cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( params->pPhysicalDevice, params->pchValue, params->unBufferSize ); } void cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->SetExplicitTimingMode( params->eTimingMode ); } void cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->SubmitExplicitTimingData( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SubmitExplicitTimingData( ); } void cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->IsMotionSmoothingEnabled( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->IsMotionSmoothingEnabled( ); } void cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->IsMotionSmoothingSupported( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->IsMotionSmoothingSupported( ); } void cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->IsCurrentSceneFocusAppLoading( ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->IsCurrentSceneFocusAppLoading( ); } void cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async( struct cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->SetStageOverride_Async( params->pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetStageOverride_Async( params->pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings ); } void cppIVRCompositor_IVRCompositor_027_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_027_ClearStageOverride_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; iface->ClearStageOverride( ); } void cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults( struct cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetCompositorBenchmarkResults( params->pBenchmarkResults, params->nSizeOfBenchmarkResults ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (bool)iface->GetCompositorBenchmarkResults( params->pBenchmarkResults, params->nSizeOfBenchmarkResults ); } void cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs( struct cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetLastPosePredictionIDs( params->pRenderPosePredictionID, params->pGamePosePredictionID ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetLastPosePredictionIDs( params->pRenderPosePredictionID, params->pGamePosePredictionID ); } void cppIVRCompositor_IVRCompositor_027_GetPosesForFrame( struct cppIVRCompositor_IVRCompositor_027_GetPosesForFrame_params *params ) { - struct cppIVRCompositor_IVRCompositor_027 *iface = (struct cppIVRCompositor_IVRCompositor_027 *)params->linux_side; - params->_ret = iface->GetPosesForFrame( params->unPosePredictionID, params->pPoseArray, params->unPoseArrayCount ); + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPosesForFrame( params->unPosePredictionID, params->pPoseArray, params->unPoseArrayCount ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h index 742b37f2..9043f5ec 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRCompositor_IVRCompositor_027; +#endif /* __cplusplus */ + struct cppIVRCompositor_IVRCompositor_027_SetTrackingSpace_params { void *linux_side; @@ -53,7 +58,7 @@ struct cppIVRCompositor_IVRCompositor_027_Submit_params void *linux_side; uint32_t _ret; uint32_t eEye; - const Texture_t *pTexture; + const w_Texture_t *pTexture; const VRTextureBounds_t *pBounds; uint32_t nSubmitFlags; }; @@ -75,7 +80,7 @@ struct cppIVRCompositor_IVRCompositor_027_GetFrameTiming_params { void *linux_side; bool _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_1017 *pTiming; uint32_t unFramesAgo; }; extern void cppIVRCompositor_IVRCompositor_027_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_027_GetFrameTiming_params *params ); @@ -84,7 +89,7 @@ struct cppIVRCompositor_IVRCompositor_027_GetFrameTimings_params { void *linux_side; uint32_t _ret; - Compositor_FrameTiming *pTiming; + w_Compositor_FrameTiming_1017 *pTiming; uint32_t nFrames; }; extern void cppIVRCompositor_IVRCompositor_027_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_027_GetFrameTimings_params *params ); @@ -99,7 +104,7 @@ extern void cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining( struct cpp struct cppIVRCompositor_IVRCompositor_027_GetCumulativeStats_params { void *linux_side; - Compositor_CumulativeStats *pStats; + Compositor_CumulativeStats_1267 *pStats; uint32_t nStatsSizeInBytes; }; extern void cppIVRCompositor_IVRCompositor_027_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_027_GetCumulativeStats_params *params ); @@ -143,7 +148,7 @@ struct cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride_params { void *linux_side; uint32_t _ret; - const Texture_t *pTextures; + const w_Texture_t *pTextures; uint32_t unTextureCount; }; extern void cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride_params *params ); @@ -402,5 +407,5 @@ struct cppIVRCompositor_IVRCompositor_027_GetPosesForFrame_params extern void cppIVRCompositor_IVRCompositor_027_GetPosesForFrame( struct cppIVRCompositor_IVRCompositor_027_GetPosesForFrame_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp index 208c61d9..662d90eb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.10.30/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRControlPanel_IVRControlPanel_006.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRControlPanel_IVRControlPanel_006 +struct u_IVRControlPanel_IVRControlPanel_006 { #ifdef __cplusplus virtual uint32_t undoc1( ) = 0; @@ -46,172 +37,169 @@ struct cppIVRControlPanel_IVRControlPanel_006 void cppIVRControlPanel_IVRControlPanel_006_undoc1( struct cppIVRControlPanel_IVRControlPanel_006_undoc1_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc1( ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc1( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc2( struct cppIVRControlPanel_IVRControlPanel_006_undoc2_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc2( params->a, params->b, params->c ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc2( params->a, params->b, params->c ); } void cppIVRControlPanel_IVRControlPanel_006_undoc3( struct cppIVRControlPanel_IVRControlPanel_006_undoc3_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc3( params->a ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc3( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc4( struct cppIVRControlPanel_IVRControlPanel_006_undoc4_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc4( params->a ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc4( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc5( struct cppIVRControlPanel_IVRControlPanel_006_undoc5_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc5( params->a, params->b, params->c, params->d ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc5( params->a, params->b, params->c, params->d ); } void cppIVRControlPanel_IVRControlPanel_006_undoc6( struct cppIVRControlPanel_IVRControlPanel_006_undoc6_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc6( params->a, params->b, params->c, params->d ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc6( params->a, params->b, params->c, params->d ); } void cppIVRControlPanel_IVRControlPanel_006_undoc7( struct cppIVRControlPanel_IVRControlPanel_006_undoc7_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc7( params->a, params->b, params->c, params->d ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc7( params->a, params->b, params->c, params->d ); } void cppIVRControlPanel_IVRControlPanel_006_undoc8( struct cppIVRControlPanel_IVRControlPanel_006_undoc8_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc8( params->a ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (bool)iface->undoc8( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc9( struct cppIVRControlPanel_IVRControlPanel_006_undoc9_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; iface->undoc9( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc10( struct cppIVRControlPanel_IVRControlPanel_006_undoc10_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; iface->undoc10( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc11( struct cppIVRControlPanel_IVRControlPanel_006_undoc11_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc11( params->a ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (bool)iface->undoc11( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc12( struct cppIVRControlPanel_IVRControlPanel_006_undoc12_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; iface->undoc12( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc13( struct cppIVRControlPanel_IVRControlPanel_006_undoc13_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; iface->undoc13( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc14( struct cppIVRControlPanel_IVRControlPanel_006_undoc14_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; iface->undoc14( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc15( struct cppIVRControlPanel_IVRControlPanel_006_undoc15_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc15( ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc15( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc16( struct cppIVRControlPanel_IVRControlPanel_006_undoc16_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; iface->undoc16( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc17( struct cppIVRControlPanel_IVRControlPanel_006_undoc17_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc17( ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (bool)iface->undoc17( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc18( struct cppIVRControlPanel_IVRControlPanel_006_undoc18_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc18( ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc18( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc19( struct cppIVRControlPanel_IVRControlPanel_006_undoc19_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; iface->undoc19( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc20( struct cppIVRControlPanel_IVRControlPanel_006_undoc20_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc20( ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (bool)iface->undoc20( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc21( struct cppIVRControlPanel_IVRControlPanel_006_undoc21_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc21( ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc21( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc22( struct cppIVRControlPanel_IVRControlPanel_006_undoc22_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; iface->undoc22( params->a, params->b, params->c, params->d, params->e ); } void cppIVRControlPanel_IVRControlPanel_006_undoc23( struct cppIVRControlPanel_IVRControlPanel_006_undoc23_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc23( params->a ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (bool)iface->undoc23( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc24( struct cppIVRControlPanel_IVRControlPanel_006_undoc24_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc24( ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (bool)iface->undoc24( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc25( struct cppIVRControlPanel_IVRControlPanel_006_undoc25_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc25( params->a ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (bool)iface->undoc25( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc26( struct cppIVRControlPanel_IVRControlPanel_006_undoc26_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc26( ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint64_t)iface->undoc26( ); } void cppIVRControlPanel_IVRControlPanel_006_undoc27( struct cppIVRControlPanel_IVRControlPanel_006_undoc27_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; - params->_ret = iface->undoc27( params->a ); + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc27( params->a ); } void cppIVRControlPanel_IVRControlPanel_006_undoc28( struct cppIVRControlPanel_IVRControlPanel_006_undoc28_params *params ) { - struct cppIVRControlPanel_IVRControlPanel_006 *iface = (struct cppIVRControlPanel_IVRControlPanel_006 *)params->linux_side; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; iface->undoc28( params->a ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h index ef362e8b..d282039d 100644 --- a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRControlPanel_IVRControlPanel_006; +#endif /* __cplusplus */ + struct cppIVRControlPanel_IVRControlPanel_006_undoc1_params { void *linux_side; @@ -222,5 +227,5 @@ struct cppIVRControlPanel_IVRControlPanel_006_undoc28_params extern void cppIVRControlPanel_IVRControlPanel_006_undoc28( struct cppIVRControlPanel_IVRControlPanel_006_undoc28_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp index 9ec5bf5c..e0b79066 100644 --- a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRDriverManager_IVRDriverManager_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRDriverManager_IVRDriverManager_001 +struct u_IVRDriverManager_IVRDriverManager_001 { #ifdef __cplusplus virtual uint32_t GetDriverCount( ) = 0; @@ -22,28 +13,25 @@ struct cppIVRDriverManager_IVRDriverManager_001 void cppIVRDriverManager_IVRDriverManager_001_GetDriverCount( struct cppIVRDriverManager_IVRDriverManager_001_GetDriverCount_params *params ) { - struct cppIVRDriverManager_IVRDriverManager_001 *iface = (struct cppIVRDriverManager_IVRDriverManager_001 *)params->linux_side; - params->_ret = iface->GetDriverCount( ); + struct u_IVRDriverManager_IVRDriverManager_001 *iface = (struct u_IVRDriverManager_IVRDriverManager_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDriverCount( ); } void cppIVRDriverManager_IVRDriverManager_001_GetDriverName( struct cppIVRDriverManager_IVRDriverManager_001_GetDriverName_params *params ) { - struct cppIVRDriverManager_IVRDriverManager_001 *iface = (struct cppIVRDriverManager_IVRDriverManager_001 *)params->linux_side; - params->_ret = iface->GetDriverName( params->nDriver, params->pchValue, params->unBufferSize ); + struct u_IVRDriverManager_IVRDriverManager_001 *iface = (struct u_IVRDriverManager_IVRDriverManager_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDriverName( params->nDriver, params->pchValue, params->unBufferSize ); } void cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle( struct cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle_params *params ) { - struct cppIVRDriverManager_IVRDriverManager_001 *iface = (struct cppIVRDriverManager_IVRDriverManager_001 *)params->linux_side; - params->_ret = iface->GetDriverHandle( params->pchDriverName ); + struct u_IVRDriverManager_IVRDriverManager_001 *iface = (struct u_IVRDriverManager_IVRDriverManager_001 *)params->linux_side; + params->_ret = (uint64_t)iface->GetDriverHandle( params->pchDriverName ); } void cppIVRDriverManager_IVRDriverManager_001_IsEnabled( struct cppIVRDriverManager_IVRDriverManager_001_IsEnabled_params *params ) { - struct cppIVRDriverManager_IVRDriverManager_001 *iface = (struct cppIVRDriverManager_IVRDriverManager_001 *)params->linux_side; - params->_ret = iface->IsEnabled( params->nDriver ); + struct u_IVRDriverManager_IVRDriverManager_001 *iface = (struct u_IVRDriverManager_IVRDriverManager_001 *)params->linux_side; + params->_ret = (bool)iface->IsEnabled( params->nDriver ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h index f70e9234..4e89612b 100644 --- a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRDriverManager_IVRDriverManager_001; +#endif /* __cplusplus */ + struct cppIVRDriverManager_IVRDriverManager_001_GetDriverCount_params { void *linux_side; @@ -36,5 +41,5 @@ struct cppIVRDriverManager_IVRDriverManager_001_IsEnabled_params extern void cppIVRDriverManager_IVRDriverManager_001_IsEnabled( struct cppIVRDriverManager_IVRDriverManager_001_IsEnabled_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp index a424299d..3dd9f2ad 100644 --- a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRExtendedDisplay_IVRExtendedDisplay_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRExtendedDisplay_IVRExtendedDisplay_001 +struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 { #ifdef __cplusplus virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; @@ -21,22 +12,19 @@ struct cppIVRExtendedDisplay_IVRExtendedDisplay_001 void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params *params ) { - struct cppIVRExtendedDisplay_IVRExtendedDisplay_001 *iface = (struct cppIVRExtendedDisplay_IVRExtendedDisplay_001 *)params->linux_side; + struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *iface = (struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *)params->linux_side; iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport_params *params ) { - struct cppIVRExtendedDisplay_IVRExtendedDisplay_001 *iface = (struct cppIVRExtendedDisplay_IVRExtendedDisplay_001 *)params->linux_side; + struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *iface = (struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *)params->linux_side; iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params *params ) { - struct cppIVRExtendedDisplay_IVRExtendedDisplay_001 *iface = (struct cppIVRExtendedDisplay_IVRExtendedDisplay_001 *)params->linux_side; + struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *iface = (struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h index 2a06f5b0..93b9ae84 100644 --- a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRExtendedDisplay_IVRExtendedDisplay_001; +#endif /* __cplusplus */ + struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params { void *linux_side; @@ -32,5 +37,5 @@ struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp index 1253c13f..aea843cf 100644 --- a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRHeadsetView_IVRHeadsetView_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRHeadsetView_IVRHeadsetView_001 +struct u_IVRHeadsetView_IVRHeadsetView_001 { #ifdef __cplusplus virtual void SetHeadsetViewSize( uint32_t, uint32_t ) = 0; @@ -27,58 +18,55 @@ struct cppIVRHeadsetView_IVRHeadsetView_001 void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params *params ) { - struct cppIVRHeadsetView_IVRHeadsetView_001 *iface = (struct cppIVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; iface->SetHeadsetViewSize( params->nWidth, params->nHeight ); } void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize_params *params ) { - struct cppIVRHeadsetView_IVRHeadsetView_001 *iface = (struct cppIVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; iface->GetHeadsetViewSize( params->pnWidth, params->pnHeight ); } void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode_params *params ) { - struct cppIVRHeadsetView_IVRHeadsetView_001 *iface = (struct cppIVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; iface->SetHeadsetViewMode( params->eHeadsetViewMode ); } void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode_params *params ) { - struct cppIVRHeadsetView_IVRHeadsetView_001 *iface = (struct cppIVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; - params->_ret = iface->GetHeadsetViewMode( ); + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetHeadsetViewMode( ); } void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped_params *params ) { - struct cppIVRHeadsetView_IVRHeadsetView_001 *iface = (struct cppIVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; iface->SetHeadsetViewCropped( params->bCropped ); } void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped_params *params ) { - struct cppIVRHeadsetView_IVRHeadsetView_001 *iface = (struct cppIVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; - params->_ret = iface->GetHeadsetViewCropped( ); + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + params->_ret = (bool)iface->GetHeadsetViewCropped( ); } void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio_params *params ) { - struct cppIVRHeadsetView_IVRHeadsetView_001 *iface = (struct cppIVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; - params->_ret = iface->GetHeadsetViewAspectRatio( ); + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + params->_ret = (float)iface->GetHeadsetViewAspectRatio( ); } void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange_params *params ) { - struct cppIVRHeadsetView_IVRHeadsetView_001 *iface = (struct cppIVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; iface->SetHeadsetViewBlendRange( params->flStartPct, params->flEndPct ); } void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params *params ) { - struct cppIVRHeadsetView_IVRHeadsetView_001 *iface = (struct cppIVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; iface->GetHeadsetViewBlendRange( params->pStartPct, params->pEndPct ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h index 8520a8f6..7a1c853a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRHeadsetView_IVRHeadsetView_001; +#endif /* __cplusplus */ + struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params { void *linux_side; @@ -70,5 +75,5 @@ struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp index af9b95d9..e27e8e82 100644 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.1.3b/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRIOBuffer_IVRIOBuffer_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRIOBuffer_IVRIOBuffer_001 +struct u_IVRIOBuffer_IVRIOBuffer_001 { #ifdef __cplusplus virtual uint32_t Open( const char *, uint32_t, uint32_t, uint32_t, uint64_t * ) = 0; @@ -23,34 +14,31 @@ struct cppIVRIOBuffer_IVRIOBuffer_001 void cppIVRIOBuffer_IVRIOBuffer_001_Open( struct cppIVRIOBuffer_IVRIOBuffer_001_Open_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_001 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; - params->_ret = iface->Open( params->pchPath, params->mode, params->unElementSize, params->unElements, params->pulBuffer ); + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = (uint32_t)iface->Open( params->pchPath, params->mode, params->unElementSize, params->unElements, params->pulBuffer ); } void cppIVRIOBuffer_IVRIOBuffer_001_Close( struct cppIVRIOBuffer_IVRIOBuffer_001_Close_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_001 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; - params->_ret = iface->Close( params->ulBuffer ); + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = (uint32_t)iface->Close( params->ulBuffer ); } void cppIVRIOBuffer_IVRIOBuffer_001_Read( struct cppIVRIOBuffer_IVRIOBuffer_001_Read_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_001 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; - params->_ret = iface->Read( params->ulBuffer, params->pDst, params->unBytes, params->punRead ); + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = (uint32_t)iface->Read( params->ulBuffer, params->pDst, params->unBytes, params->punRead ); } void cppIVRIOBuffer_IVRIOBuffer_001_Write( struct cppIVRIOBuffer_IVRIOBuffer_001_Write_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_001 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; - params->_ret = iface->Write( params->ulBuffer, params->pSrc, params->unBytes ); + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = (uint32_t)iface->Write( params->ulBuffer, params->pSrc, params->unBytes ); } void cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer( struct cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_001 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; - params->_ret = iface->PropertyContainer( params->ulBuffer ); + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = (uint64_t)iface->PropertyContainer( params->ulBuffer ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h index ac3a29f3..76205d0c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRIOBuffer_IVRIOBuffer_001; +#endif /* __cplusplus */ + struct cppIVRIOBuffer_IVRIOBuffer_001_Open_params { void *linux_side; @@ -52,5 +57,5 @@ struct cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params extern void cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer( struct cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp index e198a1fd..193f84ad 100644 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRIOBuffer_IVRIOBuffer_002.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRIOBuffer_IVRIOBuffer_002 +struct u_IVRIOBuffer_IVRIOBuffer_002 { #ifdef __cplusplus virtual uint32_t Open( const char *, uint32_t, uint32_t, uint32_t, uint64_t * ) = 0; @@ -24,40 +15,37 @@ struct cppIVRIOBuffer_IVRIOBuffer_002 void cppIVRIOBuffer_IVRIOBuffer_002_Open( struct cppIVRIOBuffer_IVRIOBuffer_002_Open_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_002 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; - params->_ret = iface->Open( params->pchPath, params->mode, params->unElementSize, params->unElements, params->pulBuffer ); + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = (uint32_t)iface->Open( params->pchPath, params->mode, params->unElementSize, params->unElements, params->pulBuffer ); } void cppIVRIOBuffer_IVRIOBuffer_002_Close( struct cppIVRIOBuffer_IVRIOBuffer_002_Close_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_002 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; - params->_ret = iface->Close( params->ulBuffer ); + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = (uint32_t)iface->Close( params->ulBuffer ); } void cppIVRIOBuffer_IVRIOBuffer_002_Read( struct cppIVRIOBuffer_IVRIOBuffer_002_Read_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_002 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; - params->_ret = iface->Read( params->ulBuffer, params->pDst, params->unBytes, params->punRead ); + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = (uint32_t)iface->Read( params->ulBuffer, params->pDst, params->unBytes, params->punRead ); } void cppIVRIOBuffer_IVRIOBuffer_002_Write( struct cppIVRIOBuffer_IVRIOBuffer_002_Write_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_002 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; - params->_ret = iface->Write( params->ulBuffer, params->pSrc, params->unBytes ); + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = (uint32_t)iface->Write( params->ulBuffer, params->pSrc, params->unBytes ); } void cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer( struct cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_002 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; - params->_ret = iface->PropertyContainer( params->ulBuffer ); + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = (uint64_t)iface->PropertyContainer( params->ulBuffer ); } void cppIVRIOBuffer_IVRIOBuffer_002_HasReaders( struct cppIVRIOBuffer_IVRIOBuffer_002_HasReaders_params *params ) { - struct cppIVRIOBuffer_IVRIOBuffer_002 *iface = (struct cppIVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; - params->_ret = iface->HasReaders( params->ulBuffer ); + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = (bool)iface->HasReaders( params->ulBuffer ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h index e93cccef..8fee7e06 100644 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRIOBuffer_IVRIOBuffer_002; +#endif /* __cplusplus */ + struct cppIVRIOBuffer_IVRIOBuffer_002_Open_params { void *linux_side; @@ -60,5 +65,5 @@ struct cppIVRIOBuffer_IVRIOBuffer_002_HasReaders_params extern void cppIVRIOBuffer_IVRIOBuffer_002_HasReaders( struct cppIVRIOBuffer_IVRIOBuffer_002_HasReaders_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp index b7e8a5f4..04abc912 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp @@ -1,169 +1,147 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRInput_IVRInput_003.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRInput_IVRInput_003 +struct u_IVRInput_IVRInput_003 { #ifdef __cplusplus virtual uint32_t SetActionManifestPath( const char * ) = 0; virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; - virtual uint32_t UpdateActionState( VRActiveActionSet_t *, uint32_t, uint32_t ) = 0; - virtual uint32_t GetDigitalActionData( uint64_t, InputDigitalActionData_t *, uint32_t ) = 0; - virtual uint32_t GetAnalogActionData( uint64_t, InputAnalogActionData_t *, uint32_t ) = 0; - virtual uint32_t GetPoseActionData( uint64_t, uint32_t, float, InputPoseActionData_t *, uint32_t ) = 0; - virtual uint32_t GetSkeletalActionData( uint64_t, uint32_t, float, InputSkeletonActionData_t *, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1015 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t ) = 0; + virtual uint32_t GetPoseActionData( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, uint32_t, float, u_InputSkeletonActionData_t *, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; virtual uint32_t GetSkeletalActionDataCompressed( uint64_t, uint32_t, float, void *, uint32_t, uint32_t * ) = 0; virtual uint32_t UncompressSkeletalActionData( void *, uint32_t, uint32_t *, VRBoneTransform_t *, uint32_t ) = 0; virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float ) = 0; virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t ) = 0; - virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; - virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t *, uint32_t, uint32_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1015 *, uint32_t, uint32_t, uint64_t ) = 0; #endif /* __cplusplus */ }; void cppIVRInput_IVRInput_003_SetActionManifestPath( struct cppIVRInput_IVRInput_003_SetActionManifestPath_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->SetActionManifestPath( params->pchActionManifestPath ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetActionManifestPath( params->pchActionManifestPath ); } void cppIVRInput_IVRInput_003_GetActionSetHandle( struct cppIVRInput_IVRInput_003_GetActionSetHandle_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); } void cppIVRInput_IVRInput_003_GetActionHandle( struct cppIVRInput_IVRInput_003_GetActionHandle_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionHandle( params->pchActionName, params->pHandle ); } void cppIVRInput_IVRInput_003_GetInputSourceHandle( struct cppIVRInput_IVRInput_003_GetInputSourceHandle_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); } void cppIVRInput_IVRInput_003_UpdateActionState( struct cppIVRInput_IVRInput_003_UpdateActionState_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); } void cppIVRInput_IVRInput_003_GetDigitalActionData( struct cppIVRInput_IVRInput_003_GetDigitalActionData_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - InputDigitalActionData_t lin_pActionData; - 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 = iface->GetDigitalActionData( 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 ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_003_GetAnalogActionData( struct cppIVRInput_IVRInput_003_GetAnalogActionData_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - InputAnalogActionData_t lin_pActionData; - 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 = iface->GetAnalogActionData( 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 ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_003_GetPoseActionData( struct cppIVRInput_IVRInput_003_GetPoseActionData_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - InputPoseActionData_t lin_pActionData; - 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 = iface->GetPoseActionData( params->action, params->eOrigin, 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 ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetPoseActionData( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_003_GetSkeletalActionData( struct cppIVRInput_IVRInput_003_GetSkeletalActionData_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - InputSkeletonActionData_t lin_pActionData; - if (params->pActionData) - struct_InputSkeletonActionData_t_1015_win_to_lin( params->pActionData, &lin_pActionData ); - params->_ret = iface->GetSkeletalActionData( params->action, params->eBoneParent, params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, params->unActionDataSize, params->pTransformArray, params->unTransformArrayCount ); - if (params->pActionData) - struct_InputSkeletonActionData_t_1015_lin_to_win( &lin_pActionData, params->pActionData ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputSkeletonActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + params->_ret = (uint32_t)iface->GetSkeletalActionData( params->action, params->eBoneParent, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, params->unActionDataSize, params->pTransformArray, params->unTransformArrayCount ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed( struct cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->GetSkeletalActionDataCompressed( params->action, params->eBoneParent, params->fPredictedSecondsFromNow, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalActionDataCompressed( params->action, params->eBoneParent, params->fPredictedSecondsFromNow, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); } void cppIVRInput_IVRInput_003_UncompressSkeletalActionData( struct cppIVRInput_IVRInput_003_UncompressSkeletalActionData_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->UncompressSkeletalActionData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->peBoneParent, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->UncompressSkeletalActionData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->peBoneParent, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_003_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_003_TriggerHapticVibrationAction_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); } void cppIVRInput_IVRInput_003_GetActionOrigins( struct cppIVRInput_IVRInput_003_GetActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); } void cppIVRInput_IVRInput_003_GetOriginLocalizedName( struct cppIVRInput_IVRInput_003_GetOriginLocalizedName_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize ); } void cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - InputOriginInfo_t lin_pOriginInfo; - if (params->pOriginInfo) - struct_InputOriginInfo_t_1015_win_to_lin( params->pOriginInfo, &lin_pOriginInfo ); - uint32_t lin_unOriginInfoSize = params->unOriginInfoSize ? sizeof(lin_pOriginInfo) : 0; - params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &lin_pOriginInfo : nullptr, lin_unOriginInfoSize ); - if (params->pOriginInfo) - struct_InputOriginInfo_t_1015_lin_to_win( &lin_pOriginInfo, params->pOriginInfo, params->unOriginInfoSize ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = (uint32_t)iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; } void cppIVRInput_IVRInput_003_ShowActionOrigins( struct cppIVRInput_IVRInput_003_ShowActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); } void cppIVRInput_IVRInput_003_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_003_ShowBindingsForActionSet_params *params ) { - struct cppIVRInput_IVRInput_003 *iface = (struct cppIVRInput_IVRInput_003 *)params->linux_side; - params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h index 4e847570..32932304 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRInput_IVRInput_003; +#endif /* __cplusplus */ + struct cppIVRInput_IVRInput_003_SetActionManifestPath_params { void *linux_side; @@ -41,7 +46,7 @@ struct cppIVRInput_IVRInput_003_UpdateActionState_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1015 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; }; @@ -52,7 +57,7 @@ struct cppIVRInput_IVRInput_003_GetDigitalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputDigitalActionData_t_1015 *pActionData; + w_InputDigitalActionData_t *pActionData; uint32_t unActionDataSize; }; extern void cppIVRInput_IVRInput_003_GetDigitalActionData( struct cppIVRInput_IVRInput_003_GetDigitalActionData_params *params ); @@ -62,7 +67,7 @@ struct cppIVRInput_IVRInput_003_GetAnalogActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputAnalogActionData_t_1015 *pActionData; + w_InputAnalogActionData_t *pActionData; uint32_t unActionDataSize; }; extern void cppIVRInput_IVRInput_003_GetAnalogActionData( struct cppIVRInput_IVRInput_003_GetAnalogActionData_params *params ); @@ -74,7 +79,7 @@ struct cppIVRInput_IVRInput_003_GetPoseActionData_params uint64_t action; uint32_t eOrigin; float fPredictedSecondsFromNow; - winInputPoseActionData_t_1015 *pActionData; + w_InputPoseActionData_t *pActionData; uint32_t unActionDataSize; }; extern void cppIVRInput_IVRInput_003_GetPoseActionData( struct cppIVRInput_IVRInput_003_GetPoseActionData_params *params ); @@ -86,7 +91,7 @@ struct cppIVRInput_IVRInput_003_GetSkeletalActionData_params uint64_t action; uint32_t eBoneParent; float fPredictedSecondsFromNow; - winInputSkeletonActionData_t_1015 *pActionData; + w_InputSkeletonActionData_t *pActionData; uint32_t unActionDataSize; VRBoneTransform_t *pTransformArray; uint32_t unTransformArrayCount; @@ -156,7 +161,7 @@ struct cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params void *linux_side; uint32_t _ret; uint64_t origin; - winInputOriginInfo_t_1015 *pOriginInfo; + w_InputOriginInfo_t *pOriginInfo; uint32_t unOriginInfoSize; }; extern void cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params *params ); @@ -174,7 +179,7 @@ struct cppIVRInput_IVRInput_003_ShowBindingsForActionSet_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1015 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; uint64_t originToHighlight; @@ -182,5 +187,5 @@ struct cppIVRInput_IVRInput_003_ShowBindingsForActionSet_params extern void cppIVRInput_IVRInput_003_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_003_ShowBindingsForActionSet_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp index 549d0272..b5d3f546 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp @@ -1,177 +1,155 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRInput_IVRInput_004.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRInput_IVRInput_004 +struct u_IVRInput_IVRInput_004 { #ifdef __cplusplus virtual uint32_t SetActionManifestPath( const char * ) = 0; virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; - virtual uint32_t UpdateActionState( VRActiveActionSet_t *, uint32_t, uint32_t ) = 0; - virtual uint32_t GetDigitalActionData( uint64_t, InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetAnalogActionData( uint64_t, InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetPoseActionData( uint64_t, uint32_t, float, InputPoseActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetSkeletalActionData( uint64_t, InputSkeletalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionData( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_1016 *, uint32_t, uint64_t ) = 0; virtual uint32_t GetSkeletalBoneData( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t, uint64_t ) = 0; virtual uint32_t GetSkeletalBoneDataCompressed( uint64_t, uint32_t, uint32_t, void *, uint32_t, uint32_t *, uint64_t ) = 0; virtual uint32_t DecompressSkeletalBoneData( void *, uint32_t, uint32_t *, VRBoneTransform_t *, uint32_t ) = 0; virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t ) = 0; - virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; - virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t *, uint32_t, uint32_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; #endif /* __cplusplus */ }; void cppIVRInput_IVRInput_004_SetActionManifestPath( struct cppIVRInput_IVRInput_004_SetActionManifestPath_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->SetActionManifestPath( params->pchActionManifestPath ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetActionManifestPath( params->pchActionManifestPath ); } void cppIVRInput_IVRInput_004_GetActionSetHandle( struct cppIVRInput_IVRInput_004_GetActionSetHandle_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); } void cppIVRInput_IVRInput_004_GetActionHandle( struct cppIVRInput_IVRInput_004_GetActionHandle_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionHandle( params->pchActionName, params->pHandle ); } void cppIVRInput_IVRInput_004_GetInputSourceHandle( struct cppIVRInput_IVRInput_004_GetInputSourceHandle_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); } void cppIVRInput_IVRInput_004_UpdateActionState( struct cppIVRInput_IVRInput_004_UpdateActionState_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); } void cppIVRInput_IVRInput_004_GetDigitalActionData( struct cppIVRInput_IVRInput_004_GetDigitalActionData_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - InputDigitalActionData_t lin_pActionData; - 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 = iface->GetDigitalActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputDigitalActionData_t_1017_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_004_GetAnalogActionData( struct cppIVRInput_IVRInput_004_GetAnalogActionData_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - InputAnalogActionData_t lin_pActionData; - 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 = iface->GetAnalogActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputAnalogActionData_t_1017_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_004_GetPoseActionData( struct cppIVRInput_IVRInput_004_GetPoseActionData_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - InputPoseActionData_t lin_pActionData; - 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 = iface->GetPoseActionData( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputPoseActionData_t_1017_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetPoseActionData( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_004_GetSkeletalActionData( struct cppIVRInput_IVRInput_004_GetSkeletalActionData_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - InputSkeletalActionData_t lin_pActionData; - 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 = iface->GetSkeletalActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputSkeletalActionData_t_1017_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputSkeletalActionData_t_1016 u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_004_GetSkeletalBoneData( struct cppIVRInput_IVRInput_004_GetSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount, params->ulRestrictToDevice ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount, params->ulRestrictToDevice ); } void cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eTransformSpace, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize, params->ulRestrictToDevice ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneDataCompressed( params->action, params->eTransformSpace, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize, params->ulRestrictToDevice ); } void cppIVRInput_IVRInput_004_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_004_DecompressSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->peTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->peTransformSpace, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_004_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_004_TriggerHapticVibrationAction_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); } void cppIVRInput_IVRInput_004_GetActionOrigins( struct cppIVRInput_IVRInput_004_GetActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); } void cppIVRInput_IVRInput_004_GetOriginLocalizedName( struct cppIVRInput_IVRInput_004_GetOriginLocalizedName_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize ); } void cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - InputOriginInfo_t lin_pOriginInfo; - if (params->pOriginInfo) - struct_InputOriginInfo_t_1017_win_to_lin( params->pOriginInfo, &lin_pOriginInfo ); - uint32_t lin_unOriginInfoSize = params->unOriginInfoSize ? sizeof(lin_pOriginInfo) : 0; - params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &lin_pOriginInfo : nullptr, lin_unOriginInfoSize ); - if (params->pOriginInfo) - struct_InputOriginInfo_t_1017_lin_to_win( &lin_pOriginInfo, params->pOriginInfo, params->unOriginInfoSize ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = (uint32_t)iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; } void cppIVRInput_IVRInput_004_ShowActionOrigins( struct cppIVRInput_IVRInput_004_ShowActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); } void cppIVRInput_IVRInput_004_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_004_ShowBindingsForActionSet_params *params ) { - struct cppIVRInput_IVRInput_004 *iface = (struct cppIVRInput_IVRInput_004 *)params->linux_side; - params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h index bfe92f03..5dfb3b79 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRInput_IVRInput_004; +#endif /* __cplusplus */ + struct cppIVRInput_IVRInput_004_SetActionManifestPath_params { void *linux_side; @@ -41,7 +46,7 @@ struct cppIVRInput_IVRInput_004_UpdateActionState_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; }; @@ -52,7 +57,7 @@ struct cppIVRInput_IVRInput_004_GetDigitalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputDigitalActionData_t_1017 *pActionData; + w_InputDigitalActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -63,7 +68,7 @@ struct cppIVRInput_IVRInput_004_GetAnalogActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputAnalogActionData_t_1017 *pActionData; + w_InputAnalogActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -76,7 +81,7 @@ struct cppIVRInput_IVRInput_004_GetPoseActionData_params uint64_t action; uint32_t eOrigin; float fPredictedSecondsFromNow; - winInputPoseActionData_t_1017 *pActionData; + w_InputPoseActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -87,7 +92,7 @@ struct cppIVRInput_IVRInput_004_GetSkeletalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputSkeletalActionData_t_1017 *pActionData; + w_InputSkeletalActionData_t_1016 *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -171,7 +176,7 @@ struct cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params void *linux_side; uint32_t _ret; uint64_t origin; - winInputOriginInfo_t_1017 *pOriginInfo; + w_InputOriginInfo_t *pOriginInfo; uint32_t unOriginInfoSize; }; extern void cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params *params ); @@ -189,7 +194,7 @@ struct cppIVRInput_IVRInput_004_ShowBindingsForActionSet_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; uint64_t originToHighlight; @@ -197,5 +202,5 @@ struct cppIVRInput_IVRInput_004_ShowBindingsForActionSet_params extern void cppIVRInput_IVRInput_004_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_004_ShowBindingsForActionSet_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp index 10fadb3d..e6692cf9 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp @@ -1,27 +1,18 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.3.22/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRInput_IVRInput_005.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRInput_IVRInput_005 +struct u_IVRInput_IVRInput_005 { #ifdef __cplusplus virtual uint32_t SetActionManifestPath( const char * ) = 0; virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; - virtual uint32_t UpdateActionState( VRActiveActionSet_t *, uint32_t, uint32_t ) = 0; - virtual uint32_t GetDigitalActionData( uint64_t, InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetAnalogActionData( uint64_t, InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetPoseActionData( uint64_t, uint32_t, float, InputPoseActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetSkeletalActionData( uint64_t, InputSkeletalActionData_t *, uint32_t ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionData( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_113b *, uint32_t ) = 0; virtual uint32_t GetBoneCount( uint64_t, uint32_t * ) = 0; virtual uint32_t GetBoneHierarchy( uint64_t, int32_t *, uint32_t ) = 0; virtual uint32_t GetBoneName( uint64_t, int32_t, char *, uint32_t ) = 0; @@ -34,193 +25,180 @@ struct cppIVRInput_IVRInput_005 virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t, int32_t ) = 0; - virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; - virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t *, uint32_t, uint32_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; virtual bool IsUsingLegacyInput( ) = 0; #endif /* __cplusplus */ }; void cppIVRInput_IVRInput_005_SetActionManifestPath( struct cppIVRInput_IVRInput_005_SetActionManifestPath_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->SetActionManifestPath( params->pchActionManifestPath ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetActionManifestPath( params->pchActionManifestPath ); } void cppIVRInput_IVRInput_005_GetActionSetHandle( struct cppIVRInput_IVRInput_005_GetActionSetHandle_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); } void cppIVRInput_IVRInput_005_GetActionHandle( struct cppIVRInput_IVRInput_005_GetActionHandle_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionHandle( params->pchActionName, params->pHandle ); } void cppIVRInput_IVRInput_005_GetInputSourceHandle( struct cppIVRInput_IVRInput_005_GetInputSourceHandle_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); } void cppIVRInput_IVRInput_005_UpdateActionState( struct cppIVRInput_IVRInput_005_UpdateActionState_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); } void cppIVRInput_IVRInput_005_GetDigitalActionData( struct cppIVRInput_IVRInput_005_GetDigitalActionData_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - InputDigitalActionData_t lin_pActionData; - 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 = iface->GetDigitalActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputDigitalActionData_t_1322_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_005_GetAnalogActionData( struct cppIVRInput_IVRInput_005_GetAnalogActionData_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - InputAnalogActionData_t lin_pActionData; - 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 = iface->GetAnalogActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputAnalogActionData_t_1322_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_005_GetPoseActionData( struct cppIVRInput_IVRInput_005_GetPoseActionData_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - InputPoseActionData_t lin_pActionData; - 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 = iface->GetPoseActionData( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputPoseActionData_t_1322_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetPoseActionData( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_005_GetSkeletalActionData( struct cppIVRInput_IVRInput_005_GetSkeletalActionData_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - InputSkeletalActionData_t lin_pActionData; - 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 = iface->GetSkeletalActionData( 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 ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputSkeletalActionData_t_113b u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_005_GetBoneCount( struct cppIVRInput_IVRInput_005_GetBoneCount_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetBoneCount( params->action, params->pBoneCount ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneCount( params->action, params->pBoneCount ); } void cppIVRInput_IVRInput_005_GetBoneHierarchy( struct cppIVRInput_IVRInput_005_GetBoneHierarchy_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); } void cppIVRInput_IVRInput_005_GetBoneName( struct cppIVRInput_IVRInput_005_GetBoneName_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); } void cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); } void cppIVRInput_IVRInput_005_GetSkeletalBoneData( struct cppIVRInput_IVRInput_005_GetSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_005_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_005_GetSkeletalSummaryData_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetSkeletalSummaryData( params->action, params->pSkeletalSummaryData ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalSummaryData( params->action, params->pSkeletalSummaryData ); } void cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); } void cppIVRInput_IVRInput_005_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_005_DecompressSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_005_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_005_TriggerHapticVibrationAction_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); } void cppIVRInput_IVRInput_005_GetActionOrigins( struct cppIVRInput_IVRInput_005_GetActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); } void cppIVRInput_IVRInput_005_GetOriginLocalizedName( struct cppIVRInput_IVRInput_005_GetOriginLocalizedName_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); } void cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - InputOriginInfo_t lin_pOriginInfo; - if (params->pOriginInfo) - struct_InputOriginInfo_t_1322_win_to_lin( params->pOriginInfo, &lin_pOriginInfo ); - uint32_t lin_unOriginInfoSize = params->unOriginInfoSize ? sizeof(lin_pOriginInfo) : 0; - params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &lin_pOriginInfo : nullptr, lin_unOriginInfoSize ); - if (params->pOriginInfo) - struct_InputOriginInfo_t_1322_lin_to_win( &lin_pOriginInfo, params->pOriginInfo, params->unOriginInfoSize ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = (uint32_t)iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; } void cppIVRInput_IVRInput_005_ShowActionOrigins( struct cppIVRInput_IVRInput_005_ShowActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); } void cppIVRInput_IVRInput_005_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_005_ShowBindingsForActionSet_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); } void cppIVRInput_IVRInput_005_IsUsingLegacyInput( struct cppIVRInput_IVRInput_005_IsUsingLegacyInput_params *params ) { - struct cppIVRInput_IVRInput_005 *iface = (struct cppIVRInput_IVRInput_005 *)params->linux_side; - params->_ret = iface->IsUsingLegacyInput( ); + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = (bool)iface->IsUsingLegacyInput( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h index 8b0c247b..b5544f7f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRInput_IVRInput_005; +#endif /* __cplusplus */ + struct cppIVRInput_IVRInput_005_SetActionManifestPath_params { void *linux_side; @@ -41,7 +46,7 @@ struct cppIVRInput_IVRInput_005_UpdateActionState_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; }; @@ -52,7 +57,7 @@ struct cppIVRInput_IVRInput_005_GetDigitalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputDigitalActionData_t_1322 *pActionData; + w_InputDigitalActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -63,7 +68,7 @@ struct cppIVRInput_IVRInput_005_GetAnalogActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputAnalogActionData_t_1322 *pActionData; + w_InputAnalogActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -76,7 +81,7 @@ struct cppIVRInput_IVRInput_005_GetPoseActionData_params uint64_t action; uint32_t eOrigin; float fPredictedSecondsFromNow; - winInputPoseActionData_t_1322 *pActionData; + w_InputPoseActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -87,7 +92,7 @@ struct cppIVRInput_IVRInput_005_GetSkeletalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputSkeletalActionData_t_1322 *pActionData; + w_InputSkeletalActionData_t_113b *pActionData; uint32_t unActionDataSize; }; extern void cppIVRInput_IVRInput_005_GetSkeletalActionData( struct cppIVRInput_IVRInput_005_GetSkeletalActionData_params *params ); @@ -228,7 +233,7 @@ struct cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params void *linux_side; uint32_t _ret; uint64_t origin; - winInputOriginInfo_t_1322 *pOriginInfo; + w_InputOriginInfo_t *pOriginInfo; uint32_t unOriginInfoSize; }; extern void cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params *params ); @@ -246,7 +251,7 @@ struct cppIVRInput_IVRInput_005_ShowBindingsForActionSet_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; uint64_t originToHighlight; @@ -261,5 +266,5 @@ struct cppIVRInput_IVRInput_005_IsUsingLegacyInput_params extern void cppIVRInput_IVRInput_005_IsUsingLegacyInput( struct cppIVRInput_IVRInput_005_IsUsingLegacyInput_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp index 2bf02463..0e12db9c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp @@ -1,28 +1,19 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.4.18/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRInput_IVRInput_006.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRInput_IVRInput_006 +struct u_IVRInput_IVRInput_006 { #ifdef __cplusplus virtual uint32_t SetActionManifestPath( const char * ) = 0; virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; - virtual uint32_t UpdateActionState( VRActiveActionSet_t *, uint32_t, uint32_t ) = 0; - virtual uint32_t GetDigitalActionData( uint64_t, InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetAnalogActionData( uint64_t, InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetPoseActionDataRelativeToNow( uint64_t, uint32_t, float, InputPoseActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetPoseActionDataForNextFrame( uint64_t, uint32_t, InputPoseActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetSkeletalActionData( uint64_t, InputSkeletalActionData_t *, uint32_t ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataRelativeToNow( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataForNextFrame( uint64_t, uint32_t, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_113b *, uint32_t ) = 0; virtual uint32_t GetBoneCount( uint64_t, uint32_t * ) = 0; virtual uint32_t GetBoneHierarchy( uint64_t, int32_t *, uint32_t ) = 0; virtual uint32_t GetBoneName( uint64_t, int32_t, char *, uint32_t ) = 0; @@ -35,205 +26,190 @@ struct cppIVRInput_IVRInput_006 virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t, int32_t ) = 0; - virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; - virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t *, uint32_t, uint32_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; virtual bool IsUsingLegacyInput( ) = 0; #endif /* __cplusplus */ }; void cppIVRInput_IVRInput_006_SetActionManifestPath( struct cppIVRInput_IVRInput_006_SetActionManifestPath_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->SetActionManifestPath( params->pchActionManifestPath ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->SetActionManifestPath( params->pchActionManifestPath ); } void cppIVRInput_IVRInput_006_GetActionSetHandle( struct cppIVRInput_IVRInput_006_GetActionSetHandle_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); } void cppIVRInput_IVRInput_006_GetActionHandle( struct cppIVRInput_IVRInput_006_GetActionHandle_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionHandle( params->pchActionName, params->pHandle ); } void cppIVRInput_IVRInput_006_GetInputSourceHandle( struct cppIVRInput_IVRInput_006_GetInputSourceHandle_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); } void cppIVRInput_IVRInput_006_UpdateActionState( struct cppIVRInput_IVRInput_006_UpdateActionState_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); } void cppIVRInput_IVRInput_006_GetDigitalActionData( struct cppIVRInput_IVRInput_006_GetDigitalActionData_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - InputDigitalActionData_t lin_pActionData; - 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 = iface->GetDigitalActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputDigitalActionData_t_1418_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_006_GetAnalogActionData( struct cppIVRInput_IVRInput_006_GetAnalogActionData_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - InputAnalogActionData_t lin_pActionData; - 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 = iface->GetAnalogActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputAnalogActionData_t_1418_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow( struct cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - InputPoseActionData_t lin_pActionData; - 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 = iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputPoseActionData_t_1418_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame( struct cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - InputPoseActionData_t lin_pActionData; - 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 = iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputPoseActionData_t_1418_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_006_GetSkeletalActionData( struct cppIVRInput_IVRInput_006_GetSkeletalActionData_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - InputSkeletalActionData_t lin_pActionData; - 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 = iface->GetSkeletalActionData( 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 ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputSkeletalActionData_t_113b u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_006_GetBoneCount( struct cppIVRInput_IVRInput_006_GetBoneCount_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetBoneCount( params->action, params->pBoneCount ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneCount( params->action, params->pBoneCount ); } void cppIVRInput_IVRInput_006_GetBoneHierarchy( struct cppIVRInput_IVRInput_006_GetBoneHierarchy_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); } void cppIVRInput_IVRInput_006_GetBoneName( struct cppIVRInput_IVRInput_006_GetBoneName_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); } void cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); } void cppIVRInput_IVRInput_006_GetSkeletalBoneData( struct cppIVRInput_IVRInput_006_GetSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_006_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_006_GetSkeletalSummaryData_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData ); } void cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); } void cppIVRInput_IVRInput_006_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_006_DecompressSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_006_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_006_TriggerHapticVibrationAction_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); } void cppIVRInput_IVRInput_006_GetActionOrigins( struct cppIVRInput_IVRInput_006_GetActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); } void cppIVRInput_IVRInput_006_GetOriginLocalizedName( struct cppIVRInput_IVRInput_006_GetOriginLocalizedName_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); } void cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - InputOriginInfo_t lin_pOriginInfo; - if (params->pOriginInfo) - struct_InputOriginInfo_t_1418_win_to_lin( params->pOriginInfo, &lin_pOriginInfo ); - uint32_t lin_unOriginInfoSize = params->unOriginInfoSize ? sizeof(lin_pOriginInfo) : 0; - params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &lin_pOriginInfo : nullptr, lin_unOriginInfoSize ); - if (params->pOriginInfo) - struct_InputOriginInfo_t_1418_lin_to_win( &lin_pOriginInfo, params->pOriginInfo, params->unOriginInfoSize ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = (uint32_t)iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; } void cppIVRInput_IVRInput_006_ShowActionOrigins( struct cppIVRInput_IVRInput_006_ShowActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); } void cppIVRInput_IVRInput_006_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_006_ShowBindingsForActionSet_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); } void cppIVRInput_IVRInput_006_IsUsingLegacyInput( struct cppIVRInput_IVRInput_006_IsUsingLegacyInput_params *params ) { - struct cppIVRInput_IVRInput_006 *iface = (struct cppIVRInput_IVRInput_006 *)params->linux_side; - params->_ret = iface->IsUsingLegacyInput( ); + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = (bool)iface->IsUsingLegacyInput( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h index 9b22d384..f9526cbc 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRInput_IVRInput_006; +#endif /* __cplusplus */ + struct cppIVRInput_IVRInput_006_SetActionManifestPath_params { void *linux_side; @@ -41,7 +46,7 @@ struct cppIVRInput_IVRInput_006_UpdateActionState_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; }; @@ -52,7 +57,7 @@ struct cppIVRInput_IVRInput_006_GetDigitalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputDigitalActionData_t_1418 *pActionData; + w_InputDigitalActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -63,7 +68,7 @@ struct cppIVRInput_IVRInput_006_GetAnalogActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputAnalogActionData_t_1418 *pActionData; + w_InputAnalogActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -76,7 +81,7 @@ struct cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params uint64_t action; uint32_t eOrigin; float fPredictedSecondsFromNow; - winInputPoseActionData_t_1418 *pActionData; + w_InputPoseActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -88,7 +93,7 @@ struct cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params uint32_t _ret; uint64_t action; uint32_t eOrigin; - winInputPoseActionData_t_1418 *pActionData; + w_InputPoseActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -99,7 +104,7 @@ struct cppIVRInput_IVRInput_006_GetSkeletalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputSkeletalActionData_t_1418 *pActionData; + w_InputSkeletalActionData_t_113b *pActionData; uint32_t unActionDataSize; }; extern void cppIVRInput_IVRInput_006_GetSkeletalActionData( struct cppIVRInput_IVRInput_006_GetSkeletalActionData_params *params ); @@ -241,7 +246,7 @@ struct cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params void *linux_side; uint32_t _ret; uint64_t origin; - winInputOriginInfo_t_1418 *pOriginInfo; + w_InputOriginInfo_t *pOriginInfo; uint32_t unOriginInfoSize; }; extern void cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params *params ); @@ -259,7 +264,7 @@ struct cppIVRInput_IVRInput_006_ShowBindingsForActionSet_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; uint64_t originToHighlight; @@ -274,5 +279,5 @@ struct cppIVRInput_IVRInput_006_IsUsingLegacyInput_params extern void cppIVRInput_IVRInput_006_IsUsingLegacyInput( struct cppIVRInput_IVRInput_006_IsUsingLegacyInput_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp index c05cee53..0e7782d8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp @@ -1,28 +1,19 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.9.16/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRInput_IVRInput_007.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRInput_IVRInput_007 +struct u_IVRInput_IVRInput_007 { #ifdef __cplusplus virtual uint32_t SetActionManifestPath( const char * ) = 0; virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; - virtual uint32_t UpdateActionState( VRActiveActionSet_t *, uint32_t, uint32_t ) = 0; - virtual uint32_t GetDigitalActionData( uint64_t, InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetAnalogActionData( uint64_t, InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetPoseActionDataRelativeToNow( uint64_t, uint32_t, float, InputPoseActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetPoseActionDataForNextFrame( uint64_t, uint32_t, InputPoseActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetSkeletalActionData( uint64_t, InputSkeletalActionData_t *, uint32_t ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataRelativeToNow( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataForNextFrame( uint64_t, uint32_t, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_113b *, uint32_t ) = 0; virtual uint32_t GetBoneCount( uint64_t, uint32_t * ) = 0; virtual uint32_t GetBoneHierarchy( uint64_t, int32_t *, uint32_t ) = 0; virtual uint32_t GetBoneName( uint64_t, int32_t, char *, uint32_t ) = 0; @@ -35,10 +26,10 @@ struct cppIVRInput_IVRInput_007 virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t, int32_t ) = 0; - virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, InputOriginInfo_t *, uint32_t ) = 0; - virtual uint32_t GetActionBindingInfo( uint64_t, InputBindingInfo_t *, uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t GetActionBindingInfo( uint64_t, InputBindingInfo_t_1517 *, uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; - virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t *, uint32_t, uint32_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; virtual bool IsUsingLegacyInput( ) = 0; virtual uint32_t OpenBindingUI( const char *, uint64_t, uint64_t, bool ) = 0; #endif /* __cplusplus */ @@ -46,208 +37,193 @@ struct cppIVRInput_IVRInput_007 void cppIVRInput_IVRInput_007_SetActionManifestPath( struct cppIVRInput_IVRInput_007_SetActionManifestPath_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->SetActionManifestPath( params->pchActionManifestPath ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetActionManifestPath( params->pchActionManifestPath ); } void cppIVRInput_IVRInput_007_GetActionSetHandle( struct cppIVRInput_IVRInput_007_GetActionSetHandle_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); } void cppIVRInput_IVRInput_007_GetActionHandle( struct cppIVRInput_IVRInput_007_GetActionHandle_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionHandle( params->pchActionName, params->pHandle ); } void cppIVRInput_IVRInput_007_GetInputSourceHandle( struct cppIVRInput_IVRInput_007_GetInputSourceHandle_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); } void cppIVRInput_IVRInput_007_UpdateActionState( struct cppIVRInput_IVRInput_007_UpdateActionState_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); } void cppIVRInput_IVRInput_007_GetDigitalActionData( struct cppIVRInput_IVRInput_007_GetDigitalActionData_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - InputDigitalActionData_t lin_pActionData; - 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 = iface->GetDigitalActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputDigitalActionData_t_1916_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_007_GetAnalogActionData( struct cppIVRInput_IVRInput_007_GetAnalogActionData_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - InputAnalogActionData_t lin_pActionData; - 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 = iface->GetAnalogActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputAnalogActionData_t_1916_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow( struct cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - InputPoseActionData_t lin_pActionData; - 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 = iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputPoseActionData_t_1916_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame( struct cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - InputPoseActionData_t lin_pActionData; - 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 = iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputPoseActionData_t_1916_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_007_GetSkeletalActionData( struct cppIVRInput_IVRInput_007_GetSkeletalActionData_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - InputSkeletalActionData_t lin_pActionData; - 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 = iface->GetSkeletalActionData( 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 ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputSkeletalActionData_t_113b u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_007_GetBoneCount( struct cppIVRInput_IVRInput_007_GetBoneCount_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetBoneCount( params->action, params->pBoneCount ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneCount( params->action, params->pBoneCount ); } void cppIVRInput_IVRInput_007_GetBoneHierarchy( struct cppIVRInput_IVRInput_007_GetBoneHierarchy_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); } void cppIVRInput_IVRInput_007_GetBoneName( struct cppIVRInput_IVRInput_007_GetBoneName_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); } void cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); } void cppIVRInput_IVRInput_007_GetSkeletalBoneData( struct cppIVRInput_IVRInput_007_GetSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_007_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_007_GetSkeletalSummaryData_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData ); } void cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); } void cppIVRInput_IVRInput_007_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_007_DecompressSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_007_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_007_TriggerHapticVibrationAction_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); } void cppIVRInput_IVRInput_007_GetActionOrigins( struct cppIVRInput_IVRInput_007_GetActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); } void cppIVRInput_IVRInput_007_GetOriginLocalizedName( struct cppIVRInput_IVRInput_007_GetOriginLocalizedName_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); } void cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - InputOriginInfo_t lin_pOriginInfo; - if (params->pOriginInfo) - struct_InputOriginInfo_t_1916_win_to_lin( params->pOriginInfo, &lin_pOriginInfo ); - uint32_t lin_unOriginInfoSize = params->unOriginInfoSize ? sizeof(lin_pOriginInfo) : 0; - params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &lin_pOriginInfo : nullptr, lin_unOriginInfoSize ); - if (params->pOriginInfo) - struct_InputOriginInfo_t_1916_lin_to_win( &lin_pOriginInfo, params->pOriginInfo, params->unOriginInfoSize ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = (uint32_t)iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; } void cppIVRInput_IVRInput_007_GetActionBindingInfo( struct cppIVRInput_IVRInput_007_GetActionBindingInfo_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->GetActionBindingInfo( params->action, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->punReturnedBindingInfoCount ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionBindingInfo( params->action, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->punReturnedBindingInfoCount ); } void cppIVRInput_IVRInput_007_ShowActionOrigins( struct cppIVRInput_IVRInput_007_ShowActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); } void cppIVRInput_IVRInput_007_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_007_ShowBindingsForActionSet_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); } void cppIVRInput_IVRInput_007_IsUsingLegacyInput( struct cppIVRInput_IVRInput_007_IsUsingLegacyInput_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->IsUsingLegacyInput( ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (bool)iface->IsUsingLegacyInput( ); } void cppIVRInput_IVRInput_007_OpenBindingUI( struct cppIVRInput_IVRInput_007_OpenBindingUI_params *params ) { - struct cppIVRInput_IVRInput_007 *iface = (struct cppIVRInput_IVRInput_007 *)params->linux_side; - params->_ret = iface->OpenBindingUI( params->pchAppKey, params->ulActionSetHandle, params->ulDeviceHandle, params->bShowOnDesktop ); + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = (uint32_t)iface->OpenBindingUI( params->pchAppKey, params->ulActionSetHandle, params->ulDeviceHandle, params->bShowOnDesktop ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h index bac0827e..255a3f65 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRInput_IVRInput_007; +#endif /* __cplusplus */ + struct cppIVRInput_IVRInput_007_SetActionManifestPath_params { void *linux_side; @@ -41,7 +46,7 @@ struct cppIVRInput_IVRInput_007_UpdateActionState_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; }; @@ -52,7 +57,7 @@ struct cppIVRInput_IVRInput_007_GetDigitalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputDigitalActionData_t_1916 *pActionData; + w_InputDigitalActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -63,7 +68,7 @@ struct cppIVRInput_IVRInput_007_GetAnalogActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputAnalogActionData_t_1916 *pActionData; + w_InputAnalogActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -76,7 +81,7 @@ struct cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params uint64_t action; uint32_t eOrigin; float fPredictedSecondsFromNow; - winInputPoseActionData_t_1916 *pActionData; + w_InputPoseActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -88,7 +93,7 @@ struct cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params uint32_t _ret; uint64_t action; uint32_t eOrigin; - winInputPoseActionData_t_1916 *pActionData; + w_InputPoseActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -99,7 +104,7 @@ struct cppIVRInput_IVRInput_007_GetSkeletalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputSkeletalActionData_t_1916 *pActionData; + w_InputSkeletalActionData_t_113b *pActionData; uint32_t unActionDataSize; }; extern void cppIVRInput_IVRInput_007_GetSkeletalActionData( struct cppIVRInput_IVRInput_007_GetSkeletalActionData_params *params ); @@ -241,7 +246,7 @@ struct cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params void *linux_side; uint32_t _ret; uint64_t origin; - winInputOriginInfo_t_1916 *pOriginInfo; + w_InputOriginInfo_t *pOriginInfo; uint32_t unOriginInfoSize; }; extern void cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params *params ); @@ -251,7 +256,7 @@ struct cppIVRInput_IVRInput_007_GetActionBindingInfo_params void *linux_side; uint32_t _ret; uint64_t action; - InputBindingInfo_t *pOriginInfo; + InputBindingInfo_t_1517 *pOriginInfo; uint32_t unBindingInfoSize; uint32_t unBindingInfoCount; uint32_t *punReturnedBindingInfoCount; @@ -271,7 +276,7 @@ struct cppIVRInput_IVRInput_007_ShowBindingsForActionSet_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; uint64_t originToHighlight; @@ -297,5 +302,5 @@ struct cppIVRInput_IVRInput_007_OpenBindingUI_params extern void cppIVRInput_IVRInput_007_OpenBindingUI( struct cppIVRInput_IVRInput_007_OpenBindingUI_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp index 43086a24..094359e0 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp @@ -1,28 +1,19 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRInput_IVRInput_010.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRInput_IVRInput_010 +struct u_IVRInput_IVRInput_010 { #ifdef __cplusplus virtual uint32_t SetActionManifestPath( const char * ) = 0; virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; - virtual uint32_t UpdateActionState( VRActiveActionSet_t *, uint32_t, uint32_t ) = 0; - virtual uint32_t GetDigitalActionData( uint64_t, InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetAnalogActionData( uint64_t, InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetPoseActionDataRelativeToNow( uint64_t, uint32_t, float, InputPoseActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetPoseActionDataForNextFrame( uint64_t, uint32_t, InputPoseActionData_t *, uint32_t, uint64_t ) = 0; - virtual uint32_t GetSkeletalActionData( uint64_t, InputSkeletalActionData_t *, uint32_t ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataRelativeToNow( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataForNextFrame( uint64_t, uint32_t, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_113b *, uint32_t ) = 0; virtual uint32_t GetDominantHand( uint32_t * ) = 0; virtual uint32_t SetDominantHand( uint32_t ) = 0; virtual uint32_t GetBoneCount( uint64_t, uint32_t * ) = 0; @@ -37,11 +28,11 @@ struct cppIVRInput_IVRInput_010 virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t, int32_t ) = 0; - virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, InputOriginInfo_t *, uint32_t ) = 0; - virtual uint32_t GetActionBindingInfo( uint64_t, InputBindingInfo_t *, uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t GetActionBindingInfo( uint64_t, InputBindingInfo_t_11030 *, uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; - virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t *, uint32_t, uint32_t, uint64_t ) = 0; - virtual uint32_t GetComponentStateForBinding( const char *, const char *, const InputBindingInfo_t *, uint32_t, uint32_t, RenderModel_ComponentState_t * ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; + virtual uint32_t GetComponentStateForBinding( const char *, const char *, const InputBindingInfo_t_11030 *, uint32_t, uint32_t, RenderModel_ComponentState_t * ) = 0; virtual bool IsUsingLegacyInput( ) = 0; virtual uint32_t OpenBindingUI( const char *, uint64_t, uint64_t, bool ) = 0; virtual uint32_t GetBindingVariant( uint64_t, char *, uint32_t ) = 0; @@ -50,232 +41,217 @@ struct cppIVRInput_IVRInput_010 void cppIVRInput_IVRInput_010_SetActionManifestPath( struct cppIVRInput_IVRInput_010_SetActionManifestPath_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->SetActionManifestPath( params->pchActionManifestPath ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetActionManifestPath( params->pchActionManifestPath ); } void cppIVRInput_IVRInput_010_GetActionSetHandle( struct cppIVRInput_IVRInput_010_GetActionSetHandle_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); } void cppIVRInput_IVRInput_010_GetActionHandle( struct cppIVRInput_IVRInput_010_GetActionHandle_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionHandle( params->pchActionName, params->pHandle ); } void cppIVRInput_IVRInput_010_GetInputSourceHandle( struct cppIVRInput_IVRInput_010_GetInputSourceHandle_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); } void cppIVRInput_IVRInput_010_UpdateActionState( struct cppIVRInput_IVRInput_010_UpdateActionState_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); } void cppIVRInput_IVRInput_010_GetDigitalActionData( struct cppIVRInput_IVRInput_010_GetDigitalActionData_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - InputDigitalActionData_t lin_pActionData; - 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 = iface->GetDigitalActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputDigitalActionData_t_1267_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_010_GetAnalogActionData( struct cppIVRInput_IVRInput_010_GetAnalogActionData_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - InputAnalogActionData_t lin_pActionData; - 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 = iface->GetAnalogActionData( params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputAnalogActionData_t_1267_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow( struct cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - InputPoseActionData_t lin_pActionData; - 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 = iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputPoseActionData_t_1267_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame( struct cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - InputPoseActionData_t lin_pActionData; - 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 = iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, params->ulRestrictToDevice ); - if (params->pActionData) - struct_InputPoseActionData_t_1267_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_010_GetSkeletalActionData( struct cppIVRInput_IVRInput_010_GetSkeletalActionData_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - InputSkeletalActionData_t lin_pActionData; - 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 = iface->GetSkeletalActionData( 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 ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputSkeletalActionData_t_113b u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = (uint32_t)iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; } void cppIVRInput_IVRInput_010_GetDominantHand( struct cppIVRInput_IVRInput_010_GetDominantHand_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetDominantHand( params->peDominantHand ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDominantHand( params->peDominantHand ); } void cppIVRInput_IVRInput_010_SetDominantHand( struct cppIVRInput_IVRInput_010_SetDominantHand_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->SetDominantHand( params->eDominantHand ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDominantHand( params->eDominantHand ); } void cppIVRInput_IVRInput_010_GetBoneCount( struct cppIVRInput_IVRInput_010_GetBoneCount_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetBoneCount( params->action, params->pBoneCount ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneCount( params->action, params->pBoneCount ); } void cppIVRInput_IVRInput_010_GetBoneHierarchy( struct cppIVRInput_IVRInput_010_GetBoneHierarchy_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); } void cppIVRInput_IVRInput_010_GetBoneName( struct cppIVRInput_IVRInput_010_GetBoneName_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); } void cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); } void cppIVRInput_IVRInput_010_GetSkeletalBoneData( struct cppIVRInput_IVRInput_010_GetSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_010_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_010_GetSkeletalSummaryData_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData ); } void cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); } void cppIVRInput_IVRInput_010_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_010_DecompressSkeletalBoneData_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); } void cppIVRInput_IVRInput_010_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_010_TriggerHapticVibrationAction_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); } void cppIVRInput_IVRInput_010_GetActionOrigins( struct cppIVRInput_IVRInput_010_GetActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); } void cppIVRInput_IVRInput_010_GetOriginLocalizedName( struct cppIVRInput_IVRInput_010_GetOriginLocalizedName_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); } void cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - InputOriginInfo_t lin_pOriginInfo; - if (params->pOriginInfo) - struct_InputOriginInfo_t_1267_win_to_lin( params->pOriginInfo, &lin_pOriginInfo ); - uint32_t lin_unOriginInfoSize = params->unOriginInfoSize ? sizeof(lin_pOriginInfo) : 0; - params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &lin_pOriginInfo : nullptr, lin_unOriginInfoSize ); - if (params->pOriginInfo) - struct_InputOriginInfo_t_1267_lin_to_win( &lin_pOriginInfo, params->pOriginInfo, params->unOriginInfoSize ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = (uint32_t)iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; } void cppIVRInput_IVRInput_010_GetActionBindingInfo( struct cppIVRInput_IVRInput_010_GetActionBindingInfo_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetActionBindingInfo( params->action, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->punReturnedBindingInfoCount ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetActionBindingInfo( params->action, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->punReturnedBindingInfoCount ); } void cppIVRInput_IVRInput_010_ShowActionOrigins( struct cppIVRInput_IVRInput_010_ShowActionOrigins_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); } void cppIVRInput_IVRInput_010_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_010_ShowBindingsForActionSet_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); } void cppIVRInput_IVRInput_010_GetComponentStateForBinding( struct cppIVRInput_IVRInput_010_GetComponentStateForBinding_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetComponentStateForBinding( params->pchRenderModelName, params->pchComponentName, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->pComponentState ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentStateForBinding( params->pchRenderModelName, params->pchComponentName, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->pComponentState ); } void cppIVRInput_IVRInput_010_IsUsingLegacyInput( struct cppIVRInput_IVRInput_010_IsUsingLegacyInput_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->IsUsingLegacyInput( ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (bool)iface->IsUsingLegacyInput( ); } void cppIVRInput_IVRInput_010_OpenBindingUI( struct cppIVRInput_IVRInput_010_OpenBindingUI_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->OpenBindingUI( params->pchAppKey, params->ulActionSetHandle, params->ulDeviceHandle, params->bShowOnDesktop ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->OpenBindingUI( params->pchAppKey, params->ulActionSetHandle, params->ulDeviceHandle, params->bShowOnDesktop ); } void cppIVRInput_IVRInput_010_GetBindingVariant( struct cppIVRInput_IVRInput_010_GetBindingVariant_params *params ) { - struct cppIVRInput_IVRInput_010 *iface = (struct cppIVRInput_IVRInput_010 *)params->linux_side; - params->_ret = iface->GetBindingVariant( params->ulDevicePath, params->pchVariantArray, params->unVariantArraySize ); + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetBindingVariant( params->ulDevicePath, params->pchVariantArray, params->unVariantArraySize ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h index e9af3346..1aaeffab 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRInput_IVRInput_010; +#endif /* __cplusplus */ + struct cppIVRInput_IVRInput_010_SetActionManifestPath_params { void *linux_side; @@ -41,7 +46,7 @@ struct cppIVRInput_IVRInput_010_UpdateActionState_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; }; @@ -52,7 +57,7 @@ struct cppIVRInput_IVRInput_010_GetDigitalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputDigitalActionData_t_1267 *pActionData; + w_InputDigitalActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -63,7 +68,7 @@ struct cppIVRInput_IVRInput_010_GetAnalogActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputAnalogActionData_t_1267 *pActionData; + w_InputAnalogActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -76,7 +81,7 @@ struct cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params uint64_t action; uint32_t eOrigin; float fPredictedSecondsFromNow; - winInputPoseActionData_t_1267 *pActionData; + w_InputPoseActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -88,7 +93,7 @@ struct cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params uint32_t _ret; uint64_t action; uint32_t eOrigin; - winInputPoseActionData_t_1267 *pActionData; + w_InputPoseActionData_t *pActionData; uint32_t unActionDataSize; uint64_t ulRestrictToDevice; }; @@ -99,7 +104,7 @@ struct cppIVRInput_IVRInput_010_GetSkeletalActionData_params void *linux_side; uint32_t _ret; uint64_t action; - winInputSkeletalActionData_t_1267 *pActionData; + w_InputSkeletalActionData_t_113b *pActionData; uint32_t unActionDataSize; }; extern void cppIVRInput_IVRInput_010_GetSkeletalActionData( struct cppIVRInput_IVRInput_010_GetSkeletalActionData_params *params ); @@ -257,7 +262,7 @@ struct cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params void *linux_side; uint32_t _ret; uint64_t origin; - winInputOriginInfo_t_1267 *pOriginInfo; + w_InputOriginInfo_t *pOriginInfo; uint32_t unOriginInfoSize; }; extern void cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params *params ); @@ -267,7 +272,7 @@ struct cppIVRInput_IVRInput_010_GetActionBindingInfo_params void *linux_side; uint32_t _ret; uint64_t action; - InputBindingInfo_t *pOriginInfo; + InputBindingInfo_t_11030 *pOriginInfo; uint32_t unBindingInfoSize; uint32_t unBindingInfoCount; uint32_t *punReturnedBindingInfoCount; @@ -287,7 +292,7 @@ struct cppIVRInput_IVRInput_010_ShowBindingsForActionSet_params { void *linux_side; uint32_t _ret; - VRActiveActionSet_t *pSets; + VRActiveActionSet_t_1016 *pSets; uint32_t unSizeOfVRSelectedActionSet_t; uint32_t unSetCount; uint64_t originToHighlight; @@ -300,7 +305,7 @@ struct cppIVRInput_IVRInput_010_GetComponentStateForBinding_params uint32_t _ret; const char *pchRenderModelName; const char *pchComponentName; - const InputBindingInfo_t *pOriginInfo; + const InputBindingInfo_t_11030 *pOriginInfo; uint32_t unBindingInfoSize; uint32_t unBindingInfoCount; RenderModel_ComponentState_t *pComponentState; @@ -336,5 +341,5 @@ struct cppIVRInput_IVRInput_010_GetBindingVariant_params extern void cppIVRInput_IVRInput_010_GetBindingVariant( struct cppIVRInput_IVRInput_010_GetBindingVariant_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp index a61f7286..d2eadfe6 100644 --- a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.10.30/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRMailbox_IVRMailbox_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRMailbox_IVRMailbox_001 +struct u_IVRMailbox_IVRMailbox_001 { #ifdef __cplusplus virtual uint32_t undoc1( const char *, uint64_t * ) = 0; @@ -22,28 +13,25 @@ struct cppIVRMailbox_IVRMailbox_001 void cppIVRMailbox_IVRMailbox_001_undoc1( struct cppIVRMailbox_IVRMailbox_001_undoc1_params *params ) { - struct cppIVRMailbox_IVRMailbox_001 *iface = (struct cppIVRMailbox_IVRMailbox_001 *)params->linux_side; - params->_ret = iface->undoc1( params->a, params->b ); + struct u_IVRMailbox_IVRMailbox_001 *iface = (struct u_IVRMailbox_IVRMailbox_001 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc1( params->a, params->b ); } void cppIVRMailbox_IVRMailbox_001_undoc2( struct cppIVRMailbox_IVRMailbox_001_undoc2_params *params ) { - struct cppIVRMailbox_IVRMailbox_001 *iface = (struct cppIVRMailbox_IVRMailbox_001 *)params->linux_side; - params->_ret = iface->undoc2( params->a ); + struct u_IVRMailbox_IVRMailbox_001 *iface = (struct u_IVRMailbox_IVRMailbox_001 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc2( params->a ); } void cppIVRMailbox_IVRMailbox_001_undoc3( struct cppIVRMailbox_IVRMailbox_001_undoc3_params *params ) { - struct cppIVRMailbox_IVRMailbox_001 *iface = (struct cppIVRMailbox_IVRMailbox_001 *)params->linux_side; - params->_ret = iface->undoc3( params->a, params->b, params->c ); + struct u_IVRMailbox_IVRMailbox_001 *iface = (struct u_IVRMailbox_IVRMailbox_001 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc3( params->a, params->b, params->c ); } void cppIVRMailbox_IVRMailbox_001_undoc4( struct cppIVRMailbox_IVRMailbox_001_undoc4_params *params ) { - struct cppIVRMailbox_IVRMailbox_001 *iface = (struct cppIVRMailbox_IVRMailbox_001 *)params->linux_side; - params->_ret = iface->undoc4( params->a, params->b, params->c, params->d ); + struct u_IVRMailbox_IVRMailbox_001 *iface = (struct u_IVRMailbox_IVRMailbox_001 *)params->linux_side; + params->_ret = (uint32_t)iface->undoc4( params->a, params->b, params->c, params->d ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h index 13f26b8a..2ab029b9 100644 --- a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRMailbox_IVRMailbox_001; +#endif /* __cplusplus */ + struct cppIVRMailbox_IVRMailbox_001_undoc1_params { void *linux_side; @@ -41,5 +46,5 @@ struct cppIVRMailbox_IVRMailbox_001_undoc4_params extern void cppIVRMailbox_IVRMailbox_001_undoc4( struct cppIVRMailbox_IVRMailbox_001_undoc4_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp index e842a46f..78c4c0cb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp @@ -1,42 +1,30 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRNotifications_IVRNotifications_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRNotifications_IVRNotifications_001 +struct u_IVRNotifications_IVRNotifications_001 { #ifdef __cplusplus virtual uint32_t GetErrorString( uint32_t, char *, uint32_t ) = 0; - virtual uint32_t CreateNotification( uint64_t, uint64_t, const char *, const char *, const char *, const NotificationBitmap *, uint32_t * ) = 0; + virtual uint32_t CreateNotification( uint64_t, uint64_t, const char *, const char *, const char *, const u_NotificationBitmap *, uint32_t * ) = 0; virtual uint32_t DismissNotification( uint32_t ) = 0; #endif /* __cplusplus */ }; void cppIVRNotifications_IVRNotifications_001_GetErrorString( struct cppIVRNotifications_IVRNotifications_001_GetErrorString_params *params ) { - struct cppIVRNotifications_IVRNotifications_001 *iface = (struct cppIVRNotifications_IVRNotifications_001 *)params->linux_side; - params->_ret = iface->GetErrorString( params->error, params->pchBuffer, params->unBufferSize ); + struct u_IVRNotifications_IVRNotifications_001 *iface = (struct u_IVRNotifications_IVRNotifications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetErrorString( params->error, params->pchBuffer, params->unBufferSize ); } void cppIVRNotifications_IVRNotifications_001_CreateNotification( struct cppIVRNotifications_IVRNotifications_001_CreateNotification_params *params ) { - struct cppIVRNotifications_IVRNotifications_001 *iface = (struct cppIVRNotifications_IVRNotifications_001 *)params->linux_side; - params->_ret = iface->CreateNotification( params->ulOverlayHandle, params->ulUserValue, params->strType, params->strText, params->strCategory, params->photo, params->notificationId ); + struct u_IVRNotifications_IVRNotifications_001 *iface = (struct u_IVRNotifications_IVRNotifications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateNotification( params->ulOverlayHandle, params->ulUserValue, params->strType, params->strText, params->strCategory, params->photo, params->notificationId ); } void cppIVRNotifications_IVRNotifications_001_DismissNotification( struct cppIVRNotifications_IVRNotifications_001_DismissNotification_params *params ) { - struct cppIVRNotifications_IVRNotifications_001 *iface = (struct cppIVRNotifications_IVRNotifications_001 *)params->linux_side; - params->_ret = iface->DismissNotification( params->notificationId ); + struct u_IVRNotifications_IVRNotifications_001 *iface = (struct u_IVRNotifications_IVRNotifications_001 *)params->linux_side; + params->_ret = (uint32_t)iface->DismissNotification( params->notificationId ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h index 4888f7b0..ba31b0da 100644 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRNotifications_IVRNotifications_001; +#endif /* __cplusplus */ + struct cppIVRNotifications_IVRNotifications_001_GetErrorString_params { void *linux_side; @@ -21,7 +26,7 @@ struct cppIVRNotifications_IVRNotifications_001_CreateNotification_params const char *strType; const char *strText; const char *strCategory; - const NotificationBitmap *photo; + const w_NotificationBitmap *photo; uint32_t *notificationId; }; extern void cppIVRNotifications_IVRNotifications_001_CreateNotification( struct cppIVRNotifications_IVRNotifications_001_CreateNotification_params *params ); @@ -35,5 +40,5 @@ struct cppIVRNotifications_IVRNotifications_001_DismissNotification_params extern void cppIVRNotifications_IVRNotifications_001_DismissNotification( struct cppIVRNotifications_IVRNotifications_001_DismissNotification_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp index dc3b1a70..825cd7c5 100644 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp @@ -1,35 +1,23 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRNotifications_IVRNotifications_002.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRNotifications_IVRNotifications_002 +struct u_IVRNotifications_IVRNotifications_002 { #ifdef __cplusplus - virtual uint32_t CreateNotification( uint64_t, uint64_t, uint32_t, const char *, uint32_t, const NotificationBitmap_t *, uint32_t * ) = 0; + virtual uint32_t CreateNotification( uint64_t, uint64_t, uint32_t, const char *, uint32_t, const u_NotificationBitmap_t *, uint32_t * ) = 0; virtual uint32_t RemoveNotification( uint32_t ) = 0; #endif /* __cplusplus */ }; void cppIVRNotifications_IVRNotifications_002_CreateNotification( struct cppIVRNotifications_IVRNotifications_002_CreateNotification_params *params ) { - struct cppIVRNotifications_IVRNotifications_002 *iface = (struct cppIVRNotifications_IVRNotifications_002 *)params->linux_side; - params->_ret = iface->CreateNotification( params->ulOverlayHandle, params->ulUserValue, params->type, params->pchText, params->style, params->pImage, params->pNotificationId ); + struct u_IVRNotifications_IVRNotifications_002 *iface = (struct u_IVRNotifications_IVRNotifications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateNotification( params->ulOverlayHandle, params->ulUserValue, params->type, params->pchText, params->style, params->pImage, params->pNotificationId ); } void cppIVRNotifications_IVRNotifications_002_RemoveNotification( struct cppIVRNotifications_IVRNotifications_002_RemoveNotification_params *params ) { - struct cppIVRNotifications_IVRNotifications_002 *iface = (struct cppIVRNotifications_IVRNotifications_002 *)params->linux_side; - params->_ret = iface->RemoveNotification( params->notificationId ); + struct u_IVRNotifications_IVRNotifications_002 *iface = (struct u_IVRNotifications_IVRNotifications_002 *)params->linux_side; + params->_ret = (uint32_t)iface->RemoveNotification( params->notificationId ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h index b596e64f..286243d7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRNotifications_IVRNotifications_002; +#endif /* __cplusplus */ + struct cppIVRNotifications_IVRNotifications_002_CreateNotification_params { void *linux_side; @@ -11,7 +16,7 @@ struct cppIVRNotifications_IVRNotifications_002_CreateNotification_params uint32_t type; const char *pchText; uint32_t style; - const NotificationBitmap_t *pImage; + const w_NotificationBitmap_t *pImage; uint32_t *pNotificationId; }; extern void cppIVRNotifications_IVRNotifications_002_CreateNotification( struct cppIVRNotifications_IVRNotifications_002_CreateNotification_params *params ); @@ -25,5 +30,5 @@ struct cppIVRNotifications_IVRNotifications_002_RemoveNotification_params extern void cppIVRNotifications_IVRNotifications_002_RemoveNotification( struct cppIVRNotifications_IVRNotifications_002_RemoveNotification_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp index 24cbe52b..520e8d50 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp @@ -1,62 +1,45 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlayView_IVROverlayView_003.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlayView_IVROverlayView_003 +struct u_IVROverlayView_IVROverlayView_003 { #ifdef __cplusplus - virtual uint32_t AcquireOverlayView( uint64_t, VRNativeDevice_t *, VROverlayView_t *, uint32_t ) = 0; - virtual uint32_t ReleaseOverlayView( VROverlayView_t * ) = 0; - virtual void PostOverlayEvent( uint64_t, const VREvent_t * ) = 0; + virtual uint32_t AcquireOverlayView( uint64_t, u_VRNativeDevice_t *, u_VROverlayView_t *, uint32_t ) = 0; + virtual uint32_t ReleaseOverlayView( u_VROverlayView_t * ) = 0; + virtual void PostOverlayEvent( uint64_t, const u_VREvent_t_1168 * ) = 0; virtual bool IsViewingPermitted( uint64_t ) = 0; #endif /* __cplusplus */ }; void cppIVROverlayView_IVROverlayView_003_AcquireOverlayView( struct cppIVROverlayView_IVROverlayView_003_AcquireOverlayView_params *params ) { - struct cppIVROverlayView_IVROverlayView_003 *iface = (struct cppIVROverlayView_IVROverlayView_003 *)params->linux_side; - VROverlayView_t lin_pOverlayView; - if (params->pOverlayView) - struct_VROverlayView_t_1267_win_to_lin( params->pOverlayView, &lin_pOverlayView ); - params->_ret = iface->AcquireOverlayView( params->ulOverlayHandle, params->pNativeDevice, params->pOverlayView ? &lin_pOverlayView : nullptr, params->unOverlayViewSize ); - if (params->pOverlayView) - struct_VROverlayView_t_1267_lin_to_win( &lin_pOverlayView, params->pOverlayView ); + struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side; + u_VROverlayView_t u_pOverlayView; + if (params->pOverlayView) u_pOverlayView = *params->pOverlayView; + params->_ret = (uint32_t)iface->AcquireOverlayView( params->ulOverlayHandle, params->pNativeDevice, params->pOverlayView ? &u_pOverlayView : nullptr, params->unOverlayViewSize ); + if (params->pOverlayView) *params->pOverlayView = u_pOverlayView; } void cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView( struct cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *params ) { - struct cppIVROverlayView_IVROverlayView_003 *iface = (struct cppIVROverlayView_IVROverlayView_003 *)params->linux_side; - VROverlayView_t lin_pOverlayView; - if (params->pOverlayView) - struct_VROverlayView_t_1267_win_to_lin( params->pOverlayView, &lin_pOverlayView ); - params->_ret = iface->ReleaseOverlayView( params->pOverlayView ? &lin_pOverlayView : nullptr ); - if (params->pOverlayView) - struct_VROverlayView_t_1267_lin_to_win( &lin_pOverlayView, params->pOverlayView ); + struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side; + u_VROverlayView_t u_pOverlayView; + if (params->pOverlayView) u_pOverlayView = *params->pOverlayView; + params->_ret = (uint32_t)iface->ReleaseOverlayView( params->pOverlayView ? &u_pOverlayView : nullptr ); + if (params->pOverlayView) *params->pOverlayView = u_pOverlayView; } void cppIVROverlayView_IVROverlayView_003_PostOverlayEvent( struct cppIVROverlayView_IVROverlayView_003_PostOverlayEvent_params *params ) { - struct cppIVROverlayView_IVROverlayView_003 *iface = (struct cppIVROverlayView_IVROverlayView_003 *)params->linux_side; - VREvent_t lin_pvrEvent; - if (params->pvrEvent) - struct_VREvent_t_1267_win_to_lin( params->pvrEvent, &lin_pvrEvent ); - iface->PostOverlayEvent( params->ulOverlayHandle, params->pvrEvent ? &lin_pvrEvent : nullptr ); + struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side; + u_VREvent_t_1168 u_pvrEvent; + if (params->pvrEvent) u_pvrEvent = *params->pvrEvent; + iface->PostOverlayEvent( params->ulOverlayHandle, params->pvrEvent ? &u_pvrEvent : nullptr ); } void cppIVROverlayView_IVROverlayView_003_IsViewingPermitted( struct cppIVROverlayView_IVROverlayView_003_IsViewingPermitted_params *params ) { - struct cppIVROverlayView_IVROverlayView_003 *iface = (struct cppIVROverlayView_IVROverlayView_003 *)params->linux_side; - params->_ret = iface->IsViewingPermitted( params->ulOverlayHandle ); + struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side; + params->_ret = (bool)iface->IsViewingPermitted( params->ulOverlayHandle ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h index ed581bd8..7eccde7e 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h @@ -1,14 +1,19 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlayView_IVROverlayView_003; +#endif /* __cplusplus */ + struct cppIVROverlayView_IVROverlayView_003_AcquireOverlayView_params { void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - VRNativeDevice_t *pNativeDevice; - winVROverlayView_t_1267 *pOverlayView; + w_VRNativeDevice_t *pNativeDevice; + w_VROverlayView_t *pOverlayView; uint32_t unOverlayViewSize; }; extern void cppIVROverlayView_IVROverlayView_003_AcquireOverlayView( struct cppIVROverlayView_IVROverlayView_003_AcquireOverlayView_params *params ); @@ -17,7 +22,7 @@ struct cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView_params { void *linux_side; uint32_t _ret; - winVROverlayView_t_1267 *pOverlayView; + w_VROverlayView_t *pOverlayView; }; extern void cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView( struct cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *params ); @@ -25,7 +30,7 @@ struct cppIVROverlayView_IVROverlayView_003_PostOverlayEvent_params { void *linux_side; uint64_t ulOverlayHandle; - const VREvent_t *pvrEvent; + const w_VREvent_t_1168 *pvrEvent; }; extern void cppIVROverlayView_IVROverlayView_003_PostOverlayEvent( struct cppIVROverlayView_IVROverlayView_003_PostOverlayEvent_params *params ); @@ -38,5 +43,5 @@ struct cppIVROverlayView_IVROverlayView_003_IsViewingPermitted_params extern void cppIVROverlayView_IVROverlayView_003_IsViewingPermitted( struct cppIVROverlayView_IVROverlayView_003_IsViewingPermitted_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp index bb978a22..b0add9c3 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_001 +struct u_IVROverlay_IVROverlay_001 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -39,7 +30,7 @@ struct cppIVROverlay_IVROverlay_001 virtual uint32_t ShowOverlay( uint64_t ) = 0; virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t * ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_092 * ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -58,249 +49,244 @@ struct cppIVROverlay_IVROverlay_001 void cppIVROverlay_IVROverlay_001_FindOverlay( struct cppIVROverlay_IVROverlay_001_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_001_CreateOverlay( struct cppIVROverlay_IVROverlay_001_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_001_DestroyOverlay( struct cppIVROverlay_IVROverlay_001_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_001_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_001_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_001_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_001_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_001_SetOverlayFlag( struct cppIVROverlay_IVROverlay_001_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_001_GetOverlayFlag( struct cppIVROverlay_IVROverlay_001_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_001_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_001_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_001_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_001_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_001_SetOverlayGamma( struct cppIVROverlay_IVROverlay_001_SetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); } void cppIVROverlay_IVROverlay_001_GetOverlayGamma( struct cppIVROverlay_IVROverlay_001_GetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); } void cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_001_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_001_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_001_GetOverlayVisibility( struct cppIVROverlay_IVROverlay_001_GetOverlayVisibility_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayVisibility( params->ulOverlayHandle, params->peOverlayVisibility ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayVisibility( params->ulOverlayHandle, params->peOverlayVisibility ); } void cppIVROverlay_IVROverlay_001_SetOverlayVisibility( struct cppIVROverlay_IVROverlay_001_SetOverlayVisibility_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayVisibility( params->ulOverlayHandle, params->eOverlayVisibility ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayVisibility( params->ulOverlayHandle, params->eOverlayVisibility ); } void cppIVROverlay_IVROverlay_001_ShowOverlay( struct cppIVROverlay_IVROverlay_001_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_001_HideOverlay( struct cppIVROverlay_IVROverlay_001_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_001_IsOverlayVisible( struct cppIVROverlay_IVROverlay_001_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_001_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_001_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_092_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_092_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + u_VREvent_t_092 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_001_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_001_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_001_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_001_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_001_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_001_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_001_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_001_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_001_SetOverlayTexture( struct cppIVROverlay_IVROverlay_001_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_001_SetOverlayRaw( struct cppIVROverlay_IVROverlay_001_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_001_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_001_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible( struct cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->IsSystemOverlayVisible( ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (bool)iface->IsSystemOverlayVisible( ); } void cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay( struct cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->IsActiveSystemOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (bool)iface->IsActiveSystemOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess( struct cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->SetSystemOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SetSystemOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess( struct cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_001 *iface = (struct cppIVROverlay_IVROverlay_001 *)params->linux_side; - params->_ret = iface->GetSystemOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSystemOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h index e12cd14e..fc104fdd 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_001; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_001_FindOverlay_params { void *linux_side; @@ -240,7 +245,7 @@ struct cppIVROverlay_IVROverlay_001_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_092 *pEvent; + w_VREvent_t_092 *pEvent; }; extern void cppIVROverlay_IVROverlay_001_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_001_PollNextOverlayEvent_params *params ); @@ -363,5 +368,5 @@ struct cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params extern void cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess( struct cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp index b86a68ba..d7bed10c 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.4/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_002.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_002 +struct u_IVROverlay_IVROverlay_002 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -39,7 +30,7 @@ struct cppIVROverlay_IVROverlay_002 virtual uint32_t ShowOverlay( uint64_t ) = 0; virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t * ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_093 * ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -60,261 +51,256 @@ struct cppIVROverlay_IVROverlay_002 void cppIVROverlay_IVROverlay_002_FindOverlay( struct cppIVROverlay_IVROverlay_002_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_002_CreateOverlay( struct cppIVROverlay_IVROverlay_002_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_002_DestroyOverlay( struct cppIVROverlay_IVROverlay_002_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_002_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_002_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_002_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_002_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_002_SetOverlayFlag( struct cppIVROverlay_IVROverlay_002_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_002_GetOverlayFlag( struct cppIVROverlay_IVROverlay_002_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_002_SetOverlayColor( struct cppIVROverlay_IVROverlay_002_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_002_GetOverlayColor( struct cppIVROverlay_IVROverlay_002_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_002_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_002_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_002_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_002_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_002_SetOverlayGamma( struct cppIVROverlay_IVROverlay_002_SetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); } void cppIVROverlay_IVROverlay_002_GetOverlayGamma( struct cppIVROverlay_IVROverlay_002_GetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); } void cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_002_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_002_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_002_ShowOverlay( struct cppIVROverlay_IVROverlay_002_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_002_HideOverlay( struct cppIVROverlay_IVROverlay_002_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_002_IsOverlayVisible( struct cppIVROverlay_IVROverlay_002_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_002_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_002_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_094_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_094_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + u_VREvent_t_093 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_002_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_002_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_002_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_002_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_002_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_002_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_002_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_002_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_002_SetOverlayTexture( struct cppIVROverlay_IVROverlay_002_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); } void cppIVROverlay_IVROverlay_002_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_002_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_002_SetOverlayRaw( struct cppIVROverlay_IVROverlay_002_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_002_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_002_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_002_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_002_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_002_IsDashboardVisible( struct cppIVROverlay_IVROverlay_002_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_002 *iface = (struct cppIVROverlay_IVROverlay_002 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h index 4f5e94d8..b7588c8c 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_002; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_002_FindOverlay_params { void *linux_side; @@ -244,7 +249,7 @@ struct cppIVROverlay_IVROverlay_002_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_094 *pEvent; + w_VREvent_t_093 *pEvent; }; extern void cppIVROverlay_IVROverlay_002_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_002_PollNextOverlayEvent_params *params ); @@ -387,5 +392,5 @@ struct cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params extern void cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp index ec232af0..5b2a62c6 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.7/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_003.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_003 +struct u_IVROverlay_IVROverlay_003 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -42,7 +33,7 @@ struct cppIVROverlay_IVROverlay_003 virtual uint32_t ShowOverlay( uint64_t ) = 0; virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t * ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_097 * ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -64,285 +55,280 @@ struct cppIVROverlay_IVROverlay_003 void cppIVROverlay_IVROverlay_003_FindOverlay( struct cppIVROverlay_IVROverlay_003_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_003_CreateOverlay( struct cppIVROverlay_IVROverlay_003_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_003_DestroyOverlay( struct cppIVROverlay_IVROverlay_003_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_003_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_003_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_003_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_003_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_003_GetOverlayKey( struct cppIVROverlay_IVROverlay_003_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_003_GetOverlayName( struct cppIVROverlay_IVROverlay_003_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_003_GetOverlayImageData( struct cppIVROverlay_IVROverlay_003_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_003_SetOverlayFlag( struct cppIVROverlay_IVROverlay_003_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_003_GetOverlayFlag( struct cppIVROverlay_IVROverlay_003_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_003_SetOverlayColor( struct cppIVROverlay_IVROverlay_003_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_003_GetOverlayColor( struct cppIVROverlay_IVROverlay_003_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_003_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_003_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_003_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_003_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_003_SetOverlayGamma( struct cppIVROverlay_IVROverlay_003_SetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); } void cppIVROverlay_IVROverlay_003_GetOverlayGamma( struct cppIVROverlay_IVROverlay_003_GetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); } void cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_003_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_003_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_003_ShowOverlay( struct cppIVROverlay_IVROverlay_003_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_003_HideOverlay( struct cppIVROverlay_IVROverlay_003_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_003_IsOverlayVisible( struct cppIVROverlay_IVROverlay_003_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_003_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_003_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_097_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_097_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + u_VREvent_t_097 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_003_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_003_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_003_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_003_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_003_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_003_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_003_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_003_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_003_SetOverlayTexture( struct cppIVROverlay_IVROverlay_003_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); } void cppIVROverlay_IVROverlay_003_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_003_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_003_SetOverlayRaw( struct cppIVROverlay_IVROverlay_003_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_003_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_003_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_003_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_003_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_003_IsDashboardVisible( struct cppIVROverlay_IVROverlay_003_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_003_ShowDashboard( struct cppIVROverlay_IVROverlay_003_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_003 *iface = (struct cppIVROverlay_IVROverlay_003 *)params->linux_side; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h index 4dfae376..d5c3cf2d 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_003; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_003_FindOverlay_params { void *linux_side; @@ -278,7 +283,7 @@ struct cppIVROverlay_IVROverlay_003_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_097 *pEvent; + w_VREvent_t_097 *pEvent; }; extern void cppIVROverlay_IVROverlay_003_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_003_PollNextOverlayEvent_params *params ); @@ -428,5 +433,5 @@ struct cppIVROverlay_IVROverlay_003_ShowDashboard_params extern void cppIVROverlay_IVROverlay_003_ShowDashboard( struct cppIVROverlay_IVROverlay_003_ShowDashboard_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp index e62f7184..e658de9d 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_004.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_004 +struct u_IVROverlay_IVROverlay_004 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -44,7 +35,7 @@ struct cppIVROverlay_IVROverlay_004 virtual uint32_t ShowOverlay( uint64_t ) = 0; virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t * ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_097 * ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -66,297 +57,292 @@ struct cppIVROverlay_IVROverlay_004 void cppIVROverlay_IVROverlay_004_FindOverlay( struct cppIVROverlay_IVROverlay_004_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_004_CreateOverlay( struct cppIVROverlay_IVROverlay_004_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_004_DestroyOverlay( struct cppIVROverlay_IVROverlay_004_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_004_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_004_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_004_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_004_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_004_GetOverlayKey( struct cppIVROverlay_IVROverlay_004_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_004_GetOverlayName( struct cppIVROverlay_IVROverlay_004_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_004_GetOverlayImageData( struct cppIVROverlay_IVROverlay_004_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_004_SetOverlayFlag( struct cppIVROverlay_IVROverlay_004_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_004_GetOverlayFlag( struct cppIVROverlay_IVROverlay_004_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_004_SetOverlayColor( struct cppIVROverlay_IVROverlay_004_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_004_GetOverlayColor( struct cppIVROverlay_IVROverlay_004_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_004_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_004_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_004_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_004_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_004_SetOverlayGamma( struct cppIVROverlay_IVROverlay_004_SetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); } void cppIVROverlay_IVROverlay_004_GetOverlayGamma( struct cppIVROverlay_IVROverlay_004_GetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); } void cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_004_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_004_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_004_ShowOverlay( struct cppIVROverlay_IVROverlay_004_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_004_HideOverlay( struct cppIVROverlay_IVROverlay_004_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_004_IsOverlayVisible( struct cppIVROverlay_IVROverlay_004_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_004_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_004_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_098_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_098_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + u_VREvent_t_097 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_004_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_004_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_004_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_004_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_004_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_004_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_004_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_004_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_004_SetOverlayTexture( struct cppIVROverlay_IVROverlay_004_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); } void cppIVROverlay_IVROverlay_004_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_004_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_004_SetOverlayRaw( struct cppIVROverlay_IVROverlay_004_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_004_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_004_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_004_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_004_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_004_IsDashboardVisible( struct cppIVROverlay_IVROverlay_004_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_004_ShowDashboard( struct cppIVROverlay_IVROverlay_004_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_004 *iface = (struct cppIVROverlay_IVROverlay_004 *)params->linux_side; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h index 0980a808..0ca1c2db 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_004; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_004_FindOverlay_params { void *linux_side; @@ -298,7 +303,7 @@ struct cppIVROverlay_IVROverlay_004_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_098 *pEvent; + w_VREvent_t_097 *pEvent; }; extern void cppIVROverlay_IVROverlay_004_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_004_PollNextOverlayEvent_params *params ); @@ -448,5 +453,5 @@ struct cppIVROverlay_IVROverlay_004_ShowDashboard_params extern void cppIVROverlay_IVROverlay_004_ShowDashboard( struct cppIVROverlay_IVROverlay_004_ShowDashboard_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp index 9918cca1..14a777a7 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_005.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_005 +struct u_IVROverlay_IVROverlay_005 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -44,7 +35,7 @@ struct cppIVROverlay_IVROverlay_005 virtual uint32_t ShowOverlay( uint64_t ) = 0; virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t * ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_0910 * ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -70,321 +61,316 @@ struct cppIVROverlay_IVROverlay_005 void cppIVROverlay_IVROverlay_005_FindOverlay( struct cppIVROverlay_IVROverlay_005_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_005_CreateOverlay( struct cppIVROverlay_IVROverlay_005_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_005_DestroyOverlay( struct cppIVROverlay_IVROverlay_005_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_005_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_005_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_005_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_005_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_005_GetOverlayKey( struct cppIVROverlay_IVROverlay_005_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_005_GetOverlayName( struct cppIVROverlay_IVROverlay_005_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_005_GetOverlayImageData( struct cppIVROverlay_IVROverlay_005_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_005_SetOverlayFlag( struct cppIVROverlay_IVROverlay_005_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_005_GetOverlayFlag( struct cppIVROverlay_IVROverlay_005_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_005_SetOverlayColor( struct cppIVROverlay_IVROverlay_005_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_005_GetOverlayColor( struct cppIVROverlay_IVROverlay_005_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_005_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_005_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_005_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_005_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_005_SetOverlayGamma( struct cppIVROverlay_IVROverlay_005_SetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); } void cppIVROverlay_IVROverlay_005_GetOverlayGamma( struct cppIVROverlay_IVROverlay_005_GetOverlayGamma_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); } void cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_005_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_005_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_005_ShowOverlay( struct cppIVROverlay_IVROverlay_005_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_005_HideOverlay( struct cppIVROverlay_IVROverlay_005_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_005_IsOverlayVisible( struct cppIVROverlay_IVROverlay_005_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_005_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_005_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_0910_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_0910_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + u_VREvent_t_0910 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_005_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_005_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_005_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_005_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_005_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_005_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_005_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_005_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_005_IsFocusOverlay( struct cppIVROverlay_IVROverlay_005_IsFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->IsFocusOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (bool)iface->IsFocusOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_005_SetOverlayTexture( struct cppIVROverlay_IVROverlay_005_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); } void cppIVROverlay_IVROverlay_005_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_005_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_005_SetOverlayRaw( struct cppIVROverlay_IVROverlay_005_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_005_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_005_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_005_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_005_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_005_IsDashboardVisible( struct cppIVROverlay_IVROverlay_005_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_005_ShowDashboard( struct cppIVROverlay_IVROverlay_005_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_005_ShowKeyboard( struct cppIVROverlay_IVROverlay_005_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode ); } void cppIVROverlay_IVROverlay_005_GetKeyboardText( struct cppIVROverlay_IVROverlay_005_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_005_HideKeyboard( struct cppIVROverlay_IVROverlay_005_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_005 *iface = (struct cppIVROverlay_IVROverlay_005 *)params->linux_side; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; iface->HideKeyboard( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h index 3348886c..ca6d24b2 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_005; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_005_FindOverlay_params { void *linux_side; @@ -298,7 +303,7 @@ struct cppIVROverlay_IVROverlay_005_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_0910 *pEvent; + w_VREvent_t_0910 *pEvent; }; extern void cppIVROverlay_IVROverlay_005_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_005_PollNextOverlayEvent_params *params ); @@ -484,5 +489,5 @@ struct cppIVROverlay_IVROverlay_005_HideKeyboard_params extern void cppIVROverlay_IVROverlay_005_HideKeyboard( struct cppIVROverlay_IVROverlay_005_HideKeyboard_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp index 6ae36a9e..6895c7eb 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.12/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_007.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_007 +struct u_IVROverlay_IVROverlay_007 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -44,7 +35,7 @@ struct cppIVROverlay_IVROverlay_007 virtual uint32_t ShowOverlay( uint64_t ) = 0; virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t * ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_0912 * ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -56,7 +47,7 @@ struct cppIVROverlay_IVROverlay_007 virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -75,351 +66,346 @@ struct cppIVROverlay_IVROverlay_007 void cppIVROverlay_IVROverlay_007_FindOverlay( struct cppIVROverlay_IVROverlay_007_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_007_CreateOverlay( struct cppIVROverlay_IVROverlay_007_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_007_DestroyOverlay( struct cppIVROverlay_IVROverlay_007_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_007_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_007_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_007_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_007_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_007_GetOverlayKey( struct cppIVROverlay_IVROverlay_007_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_007_GetOverlayName( struct cppIVROverlay_IVROverlay_007_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_007_GetOverlayImageData( struct cppIVROverlay_IVROverlay_007_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_007_SetOverlayFlag( struct cppIVROverlay_IVROverlay_007_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_007_GetOverlayFlag( struct cppIVROverlay_IVROverlay_007_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_007_SetOverlayColor( struct cppIVROverlay_IVROverlay_007_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_007_GetOverlayColor( struct cppIVROverlay_IVROverlay_007_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_007_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_007_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_007_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_007_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_007_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_007_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_007_ShowOverlay( struct cppIVROverlay_IVROverlay_007_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_007_HideOverlay( struct cppIVROverlay_IVROverlay_007_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_007_IsOverlayVisible( struct cppIVROverlay_IVROverlay_007_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_007_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_007_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_0912_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_0912_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + u_VREvent_t_0912 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_007_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_007_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_007_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_007_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_007_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_007_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_007_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_007_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_007_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_007_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_007_SetOverlayTexture( struct cppIVROverlay_IVROverlay_007_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_007_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_007_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_007_SetOverlayRaw( struct cppIVROverlay_IVROverlay_007_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_007_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_007_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_007_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_007_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_007_IsDashboardVisible( struct cppIVROverlay_IVROverlay_007_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_007_ShowDashboard( struct cppIVROverlay_IVROverlay_007_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_007_ShowKeyboard( struct cppIVROverlay_IVROverlay_007_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_007_GetKeyboardText( struct cppIVROverlay_IVROverlay_007_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_007_HideKeyboard( struct cppIVROverlay_IVROverlay_007_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_007 *iface = (struct cppIVROverlay_IVROverlay_007 *)params->linux_side; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; iface->HideKeyboard( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h index 3e5b27e9..41c4f165 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_007; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_007_FindOverlay_params { void *linux_side; @@ -298,7 +303,7 @@ struct cppIVROverlay_IVROverlay_007_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_0912 *pEvent; + w_VREvent_t_0912 *pEvent; }; extern void cppIVROverlay_IVROverlay_007_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_007_PollNextOverlayEvent_params *params ); @@ -404,7 +409,7 @@ struct cppIVROverlay_IVROverlay_007_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_007_SetOverlayTexture( struct cppIVROverlay_IVROverlay_007_SetOverlayTexture_params *params ); @@ -533,5 +538,5 @@ struct cppIVROverlay_IVROverlay_007_HideKeyboard_params extern void cppIVROverlay_IVROverlay_007_HideKeyboard( struct cppIVROverlay_IVROverlay_007_HideKeyboard_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp index 14dc1a62..ae5a299e 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_008.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_008 +struct u_IVROverlay_IVROverlay_008 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -45,7 +36,7 @@ struct cppIVROverlay_IVROverlay_008 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t * ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_0914 * ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -57,7 +48,7 @@ struct cppIVROverlay_IVROverlay_008 virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -78,369 +69,364 @@ struct cppIVROverlay_IVROverlay_008 void cppIVROverlay_IVROverlay_008_FindOverlay( struct cppIVROverlay_IVROverlay_008_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_008_CreateOverlay( struct cppIVROverlay_IVROverlay_008_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_008_DestroyOverlay( struct cppIVROverlay_IVROverlay_008_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_008_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_008_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_008_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_008_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_008_GetOverlayKey( struct cppIVROverlay_IVROverlay_008_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_008_GetOverlayName( struct cppIVROverlay_IVROverlay_008_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_008_GetOverlayImageData( struct cppIVROverlay_IVROverlay_008_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_008_SetOverlayFlag( struct cppIVROverlay_IVROverlay_008_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_008_GetOverlayFlag( struct cppIVROverlay_IVROverlay_008_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_008_SetOverlayColor( struct cppIVROverlay_IVROverlay_008_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_008_GetOverlayColor( struct cppIVROverlay_IVROverlay_008_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_008_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_008_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_008_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_008_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_008_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_008_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_008_ShowOverlay( struct cppIVROverlay_IVROverlay_008_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_008_HideOverlay( struct cppIVROverlay_IVROverlay_008_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_008_IsOverlayVisible( struct cppIVROverlay_IVROverlay_008_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_008_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_008_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_0914_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_0914_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + u_VREvent_t_0914 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_008_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_008_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_008_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_008_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_008_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_008_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_008_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_008_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_008_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_008_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_008_SetOverlayTexture( struct cppIVROverlay_IVROverlay_008_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_008_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_008_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_008_SetOverlayRaw( struct cppIVROverlay_IVROverlay_008_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_008_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_008_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_008_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_008_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_008_IsDashboardVisible( struct cppIVROverlay_IVROverlay_008_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_008_ShowDashboard( struct cppIVROverlay_IVROverlay_008_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_008_ShowKeyboard( struct cppIVROverlay_IVROverlay_008_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_008_GetKeyboardText( struct cppIVROverlay_IVROverlay_008_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_008_HideKeyboard( struct cppIVROverlay_IVROverlay_008_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_008 *iface = (struct cppIVROverlay_IVROverlay_008 *)params->linux_side; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h index 1e1b13db..71b2c6b1 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_008; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_008_FindOverlay_params { void *linux_side; @@ -309,7 +314,7 @@ struct cppIVROverlay_IVROverlay_008_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_0914 *pEvent; + w_VREvent_t_0914 *pEvent; }; extern void cppIVROverlay_IVROverlay_008_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_008_PollNextOverlayEvent_params *params ); @@ -415,7 +420,7 @@ struct cppIVROverlay_IVROverlay_008_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_008_SetOverlayTexture( struct cppIVROverlay_IVROverlay_008_SetOverlayTexture_params *params ); @@ -560,5 +565,5 @@ struct cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params extern void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp index 76bbd24b..fafb4d2d 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_010.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_010 +struct u_IVROverlay_IVROverlay_010 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -47,7 +38,7 @@ struct cppIVROverlay_IVROverlay_010 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_0918 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -59,7 +50,7 @@ struct cppIVROverlay_IVROverlay_010 virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -81,388 +72,383 @@ struct cppIVROverlay_IVROverlay_010 void cppIVROverlay_IVROverlay_010_FindOverlay( struct cppIVROverlay_IVROverlay_010_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_010_CreateOverlay( struct cppIVROverlay_IVROverlay_010_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_010_DestroyOverlay( struct cppIVROverlay_IVROverlay_010_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_010_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_010_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_010_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_010_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_010_GetOverlayKey( struct cppIVROverlay_IVROverlay_010_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_010_GetOverlayName( struct cppIVROverlay_IVROverlay_010_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_010_GetOverlayImageData( struct cppIVROverlay_IVROverlay_010_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_010_SetOverlayFlag( struct cppIVROverlay_IVROverlay_010_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_010_GetOverlayFlag( struct cppIVROverlay_IVROverlay_010_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_010_SetOverlayColor( struct cppIVROverlay_IVROverlay_010_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_010_GetOverlayColor( struct cppIVROverlay_IVROverlay_010_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_010_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_010_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_010_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_010_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_010_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_010_ShowOverlay( struct cppIVROverlay_IVROverlay_010_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_010_HideOverlay( struct cppIVROverlay_IVROverlay_010_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_010_IsOverlayVisible( struct cppIVROverlay_IVROverlay_010_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_010_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_010_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + u_VREvent_t_0918 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_010_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_010_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_010_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_010_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_010_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_010_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_010_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_010_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_010_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_010_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_010_SetOverlayTexture( struct cppIVROverlay_IVROverlay_010_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_010_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_010_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_010_SetOverlayRaw( struct cppIVROverlay_IVROverlay_010_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_010_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_010_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_010_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_010_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_010_IsDashboardVisible( struct cppIVROverlay_IVROverlay_010_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_010_ShowDashboard( struct cppIVROverlay_IVROverlay_010_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_010_ShowKeyboard( struct cppIVROverlay_IVROverlay_010_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_010_GetKeyboardText( struct cppIVROverlay_IVROverlay_010_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_010_HideKeyboard( struct cppIVROverlay_IVROverlay_010_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_010 *iface = (struct cppIVROverlay_IVROverlay_010 *)params->linux_side; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h index cb9979df..a4936e02 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_010; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_010_FindOverlay_params { void *linux_side; @@ -330,7 +335,7 @@ struct cppIVROverlay_IVROverlay_010_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_0918 *pEvent; + w_VREvent_t_0918 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_010_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_010_PollNextOverlayEvent_params *params ); @@ -437,7 +442,7 @@ struct cppIVROverlay_IVROverlay_010_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_010_SetOverlayTexture( struct cppIVROverlay_IVROverlay_010_SetOverlayTexture_params *params ); @@ -589,5 +594,5 @@ struct cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params extern void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp index f08a308f..c196ef2f 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.20/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_011.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_011 +struct u_IVROverlay_IVROverlay_011 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -49,7 +40,7 @@ struct cppIVROverlay_IVROverlay_011 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_0918 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -61,7 +52,7 @@ struct cppIVROverlay_IVROverlay_011 virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -85,412 +76,407 @@ struct cppIVROverlay_IVROverlay_011 void cppIVROverlay_IVROverlay_011_FindOverlay( struct cppIVROverlay_IVROverlay_011_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_011_CreateOverlay( struct cppIVROverlay_IVROverlay_011_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_011_DestroyOverlay( struct cppIVROverlay_IVROverlay_011_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_011_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_011_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_011_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_011_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_011_GetOverlayKey( struct cppIVROverlay_IVROverlay_011_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_011_GetOverlayName( struct cppIVROverlay_IVROverlay_011_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_011_GetOverlayImageData( struct cppIVROverlay_IVROverlay_011_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_011_SetOverlayFlag( struct cppIVROverlay_IVROverlay_011_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_011_GetOverlayFlag( struct cppIVROverlay_IVROverlay_011_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_011_SetOverlayColor( struct cppIVROverlay_IVROverlay_011_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_011_GetOverlayColor( struct cppIVROverlay_IVROverlay_011_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_011_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_011_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_011_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_011_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_011_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_011_ShowOverlay( struct cppIVROverlay_IVROverlay_011_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_011_HideOverlay( struct cppIVROverlay_IVROverlay_011_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_011_IsOverlayVisible( struct cppIVROverlay_IVROverlay_011_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_011_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_011_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + u_VREvent_t_0918 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_011_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_011_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_011_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_011_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_011_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_011_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_011_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_011_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_011_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_011_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_011_SetOverlayTexture( struct cppIVROverlay_IVROverlay_011_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_011_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_011_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_011_SetOverlayRaw( struct cppIVROverlay_IVROverlay_011_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_011_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_011_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_011_GetOverlayTexture( struct cppIVROverlay_IVROverlay_011_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace ); } void cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_011_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_011_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_011_IsDashboardVisible( struct cppIVROverlay_IVROverlay_011_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_011_ShowDashboard( struct cppIVROverlay_IVROverlay_011_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_011_ShowKeyboard( struct cppIVROverlay_IVROverlay_011_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_011_GetKeyboardText( struct cppIVROverlay_IVROverlay_011_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_011_HideKeyboard( struct cppIVROverlay_IVROverlay_011_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_011 *iface = (struct cppIVROverlay_IVROverlay_011 *)params->linux_side; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h index b5402123..f438fc47 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_011; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_011_FindOverlay_params { void *linux_side; @@ -347,7 +352,7 @@ struct cppIVROverlay_IVROverlay_011_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_0920 *pEvent; + w_VREvent_t_0918 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_011_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_011_PollNextOverlayEvent_params *params ); @@ -454,7 +459,7 @@ struct cppIVROverlay_IVROverlay_011_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_011_SetOverlayTexture( struct cppIVROverlay_IVROverlay_011_SetOverlayTexture_params *params ); @@ -630,5 +635,5 @@ struct cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params extern void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp index 6b5de640..c8ceb841 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_012.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_012 +struct u_IVROverlay_IVROverlay_012 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -49,7 +40,7 @@ struct cppIVROverlay_IVROverlay_012 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_101 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -61,7 +52,7 @@ struct cppIVROverlay_IVROverlay_012 virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -86,418 +77,413 @@ struct cppIVROverlay_IVROverlay_012 void cppIVROverlay_IVROverlay_012_FindOverlay( struct cppIVROverlay_IVROverlay_012_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_012_CreateOverlay( struct cppIVROverlay_IVROverlay_012_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_012_DestroyOverlay( struct cppIVROverlay_IVROverlay_012_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_012_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_012_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_012_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_012_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_012_GetOverlayKey( struct cppIVROverlay_IVROverlay_012_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_012_GetOverlayName( struct cppIVROverlay_IVROverlay_012_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_012_GetOverlayImageData( struct cppIVROverlay_IVROverlay_012_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_012_SetOverlayFlag( struct cppIVROverlay_IVROverlay_012_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_012_GetOverlayFlag( struct cppIVROverlay_IVROverlay_012_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_012_SetOverlayColor( struct cppIVROverlay_IVROverlay_012_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_012_GetOverlayColor( struct cppIVROverlay_IVROverlay_012_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_012_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_012_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_012_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_012_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_012_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_012_ShowOverlay( struct cppIVROverlay_IVROverlay_012_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_012_HideOverlay( struct cppIVROverlay_IVROverlay_012_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_012_IsOverlayVisible( struct cppIVROverlay_IVROverlay_012_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_012_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_012_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + u_VREvent_t_101 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_012_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_012_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_012_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_012_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_012_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_012_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_012_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_012_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_012_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_012_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_012_SetOverlayTexture( struct cppIVROverlay_IVROverlay_012_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_012_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_012_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_012_SetOverlayRaw( struct cppIVROverlay_IVROverlay_012_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_012_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_012_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_012_GetOverlayTexture( struct cppIVROverlay_IVROverlay_012_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace ); } void cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_012_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_012_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_012_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_012_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_012_IsDashboardVisible( struct cppIVROverlay_IVROverlay_012_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_012_ShowDashboard( struct cppIVROverlay_IVROverlay_012_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_012_ShowKeyboard( struct cppIVROverlay_IVROverlay_012_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_012_GetKeyboardText( struct cppIVROverlay_IVROverlay_012_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_012_HideKeyboard( struct cppIVROverlay_IVROverlay_012_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_012 *iface = (struct cppIVROverlay_IVROverlay_012 *)params->linux_side; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h index 683f8198..3be9c6e0 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_012; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_012_FindOverlay_params { void *linux_side; @@ -347,7 +352,7 @@ struct cppIVROverlay_IVROverlay_012_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_101 *pEvent; + w_VREvent_t_101 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_012_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_012_PollNextOverlayEvent_params *params ); @@ -454,7 +459,7 @@ struct cppIVROverlay_IVROverlay_012_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_012_SetOverlayTexture( struct cppIVROverlay_IVROverlay_012_SetOverlayTexture_params *params ); @@ -640,5 +645,5 @@ struct cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params extern void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp index 581e468d..096c6ccd 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.4/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_013.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_013 +struct u_IVROverlay_IVROverlay_013 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -53,7 +44,7 @@ struct cppIVROverlay_IVROverlay_013 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_103 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -65,7 +56,7 @@ struct cppIVROverlay_IVROverlay_013 virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -91,448 +82,443 @@ struct cppIVROverlay_IVROverlay_013 void cppIVROverlay_IVROverlay_013_FindOverlay( struct cppIVROverlay_IVROverlay_013_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_013_CreateOverlay( struct cppIVROverlay_IVROverlay_013_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_013_DestroyOverlay( struct cppIVROverlay_IVROverlay_013_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_013_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_013_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_013_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_013_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_013_GetOverlayKey( struct cppIVROverlay_IVROverlay_013_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_013_GetOverlayName( struct cppIVROverlay_IVROverlay_013_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_013_GetOverlayImageData( struct cppIVROverlay_IVROverlay_013_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_013_SetOverlayFlag( struct cppIVROverlay_IVROverlay_013_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_013_GetOverlayFlag( struct cppIVROverlay_IVROverlay_013_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_013_SetOverlayColor( struct cppIVROverlay_IVROverlay_013_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_013_GetOverlayColor( struct cppIVROverlay_IVROverlay_013_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_013_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_013_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_013_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_013_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_013_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_013_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_013_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_013_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_013_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_013_ShowOverlay( struct cppIVROverlay_IVROverlay_013_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_013_HideOverlay( struct cppIVROverlay_IVROverlay_013_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_013_IsOverlayVisible( struct cppIVROverlay_IVROverlay_013_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_013_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_013_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_013_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_013_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_013_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_013_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_013_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_013_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_013_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_013_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_013_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_013_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_013_SetOverlayTexture( struct cppIVROverlay_IVROverlay_013_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_013_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_013_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_013_SetOverlayRaw( struct cppIVROverlay_IVROverlay_013_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_013_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_013_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_013_GetOverlayTexture( struct cppIVROverlay_IVROverlay_013_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace ); } void cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_013_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_013_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_013_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_013_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_013_IsDashboardVisible( struct cppIVROverlay_IVROverlay_013_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_013_ShowDashboard( struct cppIVROverlay_IVROverlay_013_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_013_ShowKeyboard( struct cppIVROverlay_IVROverlay_013_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_013_GetKeyboardText( struct cppIVROverlay_IVROverlay_013_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_013_HideKeyboard( struct cppIVROverlay_IVROverlay_013_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_013 *iface = (struct cppIVROverlay_IVROverlay_013 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h index 0bb09913..8c4e949e 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_013; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_013_FindOverlay_params { void *linux_side; @@ -383,7 +388,7 @@ struct cppIVROverlay_IVROverlay_013_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_104 *pEvent; + w_VREvent_t_103 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_013_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_013_PollNextOverlayEvent_params *params ); @@ -490,7 +495,7 @@ struct cppIVROverlay_IVROverlay_013_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_013_SetOverlayTexture( struct cppIVROverlay_IVROverlay_013_SetOverlayTexture_params *params ); @@ -687,5 +692,5 @@ struct cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params extern void cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp index 5c505ac5..aebac53d 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.6/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_014.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_014 +struct u_IVROverlay_IVROverlay_014 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -53,7 +44,7 @@ struct cppIVROverlay_IVROverlay_014 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_106 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -65,7 +56,7 @@ struct cppIVROverlay_IVROverlay_014 virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -93,460 +84,455 @@ struct cppIVROverlay_IVROverlay_014 void cppIVROverlay_IVROverlay_014_FindOverlay( struct cppIVROverlay_IVROverlay_014_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_014_CreateOverlay( struct cppIVROverlay_IVROverlay_014_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_014_DestroyOverlay( struct cppIVROverlay_IVROverlay_014_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_014_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_014_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_014_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_014_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_014_GetOverlayKey( struct cppIVROverlay_IVROverlay_014_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_014_GetOverlayName( struct cppIVROverlay_IVROverlay_014_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_014_GetOverlayImageData( struct cppIVROverlay_IVROverlay_014_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_014_SetOverlayFlag( struct cppIVROverlay_IVROverlay_014_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_014_GetOverlayFlag( struct cppIVROverlay_IVROverlay_014_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_014_SetOverlayColor( struct cppIVROverlay_IVROverlay_014_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_014_GetOverlayColor( struct cppIVROverlay_IVROverlay_014_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_014_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_014_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_014_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_014_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_014_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_014_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_014_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_014_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_014_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_014_ShowOverlay( struct cppIVROverlay_IVROverlay_014_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_014_HideOverlay( struct cppIVROverlay_IVROverlay_014_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_014_IsOverlayVisible( struct cppIVROverlay_IVROverlay_014_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_014_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_014_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_014_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_014_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_014_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_014_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_014_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_014_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_014_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_014_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_014_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_014_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_014_SetOverlayTexture( struct cppIVROverlay_IVROverlay_014_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_014_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_014_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_014_SetOverlayRaw( struct cppIVROverlay_IVROverlay_014_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_014_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_014_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_014_GetOverlayTexture( struct cppIVROverlay_IVROverlay_014_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_014_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_014_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_014_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_014_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_014_IsDashboardVisible( struct cppIVROverlay_IVROverlay_014_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_014_ShowDashboard( struct cppIVROverlay_IVROverlay_014_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_014_ShowKeyboard( struct cppIVROverlay_IVROverlay_014_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_014_GetKeyboardText( struct cppIVROverlay_IVROverlay_014_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_014_HideKeyboard( struct cppIVROverlay_IVROverlay_014_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_014_GetOverlayFlags( struct cppIVROverlay_IVROverlay_014_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_014_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_014_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_014 *iface = (struct cppIVROverlay_IVROverlay_014 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h index d9c0d4de..b4512b4f 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_014; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_014_FindOverlay_params { void *linux_side; @@ -383,7 +388,7 @@ struct cppIVROverlay_IVROverlay_014_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_106 *pEvent; + w_VREvent_t_106 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_014_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_014_PollNextOverlayEvent_params *params ); @@ -490,7 +495,7 @@ struct cppIVROverlay_IVROverlay_014_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_014_SetOverlayTexture( struct cppIVROverlay_IVROverlay_014_SetOverlayTexture_params *params ); @@ -710,5 +715,5 @@ struct cppIVROverlay_IVROverlay_014_ShowMessageOverlay_params extern void cppIVROverlay_IVROverlay_014_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_014_ShowMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp index db853c5b..08e46593 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.10/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_016.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_016 +struct u_IVROverlay_IVROverlay_016 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -58,7 +49,7 @@ struct cppIVROverlay_IVROverlay_016 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_106 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -70,7 +61,7 @@ struct cppIVROverlay_IVROverlay_016 virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -99,496 +90,491 @@ struct cppIVROverlay_IVROverlay_016 void cppIVROverlay_IVROverlay_016_FindOverlay( struct cppIVROverlay_IVROverlay_016_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_016_CreateOverlay( struct cppIVROverlay_IVROverlay_016_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_016_DestroyOverlay( struct cppIVROverlay_IVROverlay_016_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_016_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_016_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_016_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_016_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_016_GetOverlayKey( struct cppIVROverlay_IVROverlay_016_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_016_GetOverlayName( struct cppIVROverlay_IVROverlay_016_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_016_SetOverlayName( struct cppIVROverlay_IVROverlay_016_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_016_GetOverlayImageData( struct cppIVROverlay_IVROverlay_016_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_016_SetOverlayFlag( struct cppIVROverlay_IVROverlay_016_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_016_GetOverlayFlag( struct cppIVROverlay_IVROverlay_016_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_016_SetOverlayColor( struct cppIVROverlay_IVROverlay_016_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_016_GetOverlayColor( struct cppIVROverlay_IVROverlay_016_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_016_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_016_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_016_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_016_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_016_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_016_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_016_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_016_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_016_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_016_GetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); } void cppIVROverlay_IVROverlay_016_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_016_SetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); } void cppIVROverlay_IVROverlay_016_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_016_ShowOverlay( struct cppIVROverlay_IVROverlay_016_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_016_HideOverlay( struct cppIVROverlay_IVROverlay_016_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_016_IsOverlayVisible( struct cppIVROverlay_IVROverlay_016_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_016_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_016_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_016_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_016_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_016_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_016_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_016_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_016_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_016_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_016_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_016_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_016_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_016_SetOverlayTexture( struct cppIVROverlay_IVROverlay_016_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_016_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_016_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_016_SetOverlayRaw( struct cppIVROverlay_IVROverlay_016_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_016_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_016_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_016_GetOverlayTexture( struct cppIVROverlay_IVROverlay_016_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_016_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_016_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_016_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_016_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_016_IsDashboardVisible( struct cppIVROverlay_IVROverlay_016_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_016_ShowDashboard( struct cppIVROverlay_IVROverlay_016_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_016_ShowKeyboard( struct cppIVROverlay_IVROverlay_016_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_016_GetKeyboardText( struct cppIVROverlay_IVROverlay_016_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_016_HideKeyboard( struct cppIVROverlay_IVROverlay_016_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_016_GetOverlayFlags( struct cppIVROverlay_IVROverlay_016_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_016_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_016_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_016_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_016_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_016 *iface = (struct cppIVROverlay_IVROverlay_016 *)params->linux_side; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h index 0990a31e..787a8056 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_016; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_016_FindOverlay_params { void *linux_side; @@ -434,7 +439,7 @@ struct cppIVROverlay_IVROverlay_016_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1010 *pEvent; + w_VREvent_t_106 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_016_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_016_PollNextOverlayEvent_params *params ); @@ -541,7 +546,7 @@ struct cppIVROverlay_IVROverlay_016_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_016_SetOverlayTexture( struct cppIVROverlay_IVROverlay_016_SetOverlayTexture_params *params ); @@ -767,5 +772,5 @@ struct cppIVROverlay_IVROverlay_016_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_016_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_016_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp index 3ec10440..795757d3 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.11/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_017.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_017 +struct u_IVROverlay_IVROverlay_017 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -58,7 +49,7 @@ struct cppIVROverlay_IVROverlay_017 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_1011 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -72,7 +63,7 @@ struct cppIVROverlay_IVROverlay_017 virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -101,508 +92,503 @@ struct cppIVROverlay_IVROverlay_017 void cppIVROverlay_IVROverlay_017_FindOverlay( struct cppIVROverlay_IVROverlay_017_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_017_CreateOverlay( struct cppIVROverlay_IVROverlay_017_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_017_DestroyOverlay( struct cppIVROverlay_IVROverlay_017_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_017_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_017_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_017_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_017_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_017_GetOverlayKey( struct cppIVROverlay_IVROverlay_017_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_017_GetOverlayName( struct cppIVROverlay_IVROverlay_017_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_017_SetOverlayName( struct cppIVROverlay_IVROverlay_017_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_017_GetOverlayImageData( struct cppIVROverlay_IVROverlay_017_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_017_SetOverlayFlag( struct cppIVROverlay_IVROverlay_017_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_017_GetOverlayFlag( struct cppIVROverlay_IVROverlay_017_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_017_SetOverlayColor( struct cppIVROverlay_IVROverlay_017_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_017_GetOverlayColor( struct cppIVROverlay_IVROverlay_017_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_017_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_017_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_017_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_017_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_017_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_017_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_017_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_017_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_017_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_017_GetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); } void cppIVROverlay_IVROverlay_017_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_017_SetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); } void cppIVROverlay_IVROverlay_017_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_017_ShowOverlay( struct cppIVROverlay_IVROverlay_017_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_017_HideOverlay( struct cppIVROverlay_IVROverlay_017_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_017_IsOverlayVisible( struct cppIVROverlay_IVROverlay_017_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_017_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_017_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + u_VREvent_t_1011 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_017_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_017_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_017_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_017_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_017_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_017_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_017_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_017_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); } void cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_017_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_017_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->vCenter, params->fRadius ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->vCenter, params->fRadius ); } void cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); } void cppIVROverlay_IVROverlay_017_SetOverlayTexture( struct cppIVROverlay_IVROverlay_017_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_017_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_017_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_017_SetOverlayRaw( struct cppIVROverlay_IVROverlay_017_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_017_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_017_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_017_GetOverlayTexture( struct cppIVROverlay_IVROverlay_017_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_017_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_017_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_017_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_017_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_017_IsDashboardVisible( struct cppIVROverlay_IVROverlay_017_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_017_ShowDashboard( struct cppIVROverlay_IVROverlay_017_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_017_ShowKeyboard( struct cppIVROverlay_IVROverlay_017_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_017_GetKeyboardText( struct cppIVROverlay_IVROverlay_017_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_017_HideKeyboard( struct cppIVROverlay_IVROverlay_017_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_017_GetOverlayFlags( struct cppIVROverlay_IVROverlay_017_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_017_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_017_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_017_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_017_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_017 *iface = (struct cppIVROverlay_IVROverlay_017 *)params->linux_side; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h index 33493200..ef30c784 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_017; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_017_FindOverlay_params { void *linux_side; @@ -434,7 +439,7 @@ struct cppIVROverlay_IVROverlay_017_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1011 *pEvent; + w_VREvent_t_1011 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_017_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_017_PollNextOverlayEvent_params *params ); @@ -563,7 +568,7 @@ struct cppIVROverlay_IVROverlay_017_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_017_SetOverlayTexture( struct cppIVROverlay_IVROverlay_017_SetOverlayTexture_params *params ); @@ -789,5 +794,5 @@ struct cppIVROverlay_IVROverlay_017_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_017_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_017_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp index a15c0c0c..4704f9ba 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_018.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_018 +struct u_IVROverlay_IVROverlay_018 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -58,7 +49,7 @@ struct cppIVROverlay_IVROverlay_018 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_1016 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -71,7 +62,7 @@ struct cppIVROverlay_IVROverlay_018 virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -100,502 +91,497 @@ struct cppIVROverlay_IVROverlay_018 void cppIVROverlay_IVROverlay_018_FindOverlay( struct cppIVROverlay_IVROverlay_018_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_018_CreateOverlay( struct cppIVROverlay_IVROverlay_018_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_018_DestroyOverlay( struct cppIVROverlay_IVROverlay_018_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_018_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_018_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_018_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_018_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_018_GetOverlayKey( struct cppIVROverlay_IVROverlay_018_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_018_GetOverlayName( struct cppIVROverlay_IVROverlay_018_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_018_SetOverlayName( struct cppIVROverlay_IVROverlay_018_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_018_GetOverlayImageData( struct cppIVROverlay_IVROverlay_018_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_018_SetOverlayFlag( struct cppIVROverlay_IVROverlay_018_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_018_GetOverlayFlag( struct cppIVROverlay_IVROverlay_018_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_018_SetOverlayColor( struct cppIVROverlay_IVROverlay_018_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_018_GetOverlayColor( struct cppIVROverlay_IVROverlay_018_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_018_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_018_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_018_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_018_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_018_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_018_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_018_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_018_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_018_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_018_GetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); } void cppIVROverlay_IVROverlay_018_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_018_SetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); } void cppIVROverlay_IVROverlay_018_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_018_ShowOverlay( struct cppIVROverlay_IVROverlay_018_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_018_HideOverlay( struct cppIVROverlay_IVROverlay_018_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_018_IsOverlayVisible( struct cppIVROverlay_IVROverlay_018_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_018_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_018_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + u_VREvent_t_1016 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_018_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_018_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_018_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_018_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_018_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_018_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_018_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_018_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_018_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_018_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->vCenter, params->fRadius ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->vCenter, params->fRadius ); } void cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); } void cppIVROverlay_IVROverlay_018_SetOverlayTexture( struct cppIVROverlay_IVROverlay_018_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_018_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_018_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_018_SetOverlayRaw( struct cppIVROverlay_IVROverlay_018_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_018_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_018_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_018_GetOverlayTexture( struct cppIVROverlay_IVROverlay_018_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_018_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_018_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_018_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_018_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_018_IsDashboardVisible( struct cppIVROverlay_IVROverlay_018_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_018_ShowDashboard( struct cppIVROverlay_IVROverlay_018_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_018_ShowKeyboard( struct cppIVROverlay_IVROverlay_018_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_018_GetKeyboardText( struct cppIVROverlay_IVROverlay_018_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_018_HideKeyboard( struct cppIVROverlay_IVROverlay_018_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_018_GetOverlayFlags( struct cppIVROverlay_IVROverlay_018_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_018_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_018_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_018_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_018_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_018 *iface = (struct cppIVROverlay_IVROverlay_018 *)params->linux_side; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h index 2bba15ee..275364df 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_018; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_018_FindOverlay_params { void *linux_side; @@ -434,7 +439,7 @@ struct cppIVROverlay_IVROverlay_018_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1017 *pEvent; + w_VREvent_t_1016 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_018_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_018_PollNextOverlayEvent_params *params ); @@ -554,7 +559,7 @@ struct cppIVROverlay_IVROverlay_018_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_018_SetOverlayTexture( struct cppIVROverlay_IVROverlay_018_SetOverlayTexture_params *params ); @@ -780,5 +785,5 @@ struct cppIVROverlay_IVROverlay_018_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_018_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_018_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp index 821deb5b..b30761fe 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.6.10/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_019.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_019 +struct u_IVROverlay_IVROverlay_019 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -58,7 +49,7 @@ struct cppIVROverlay_IVROverlay_019 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_1322 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -71,7 +62,7 @@ struct cppIVROverlay_IVROverlay_019 virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -100,502 +91,497 @@ struct cppIVROverlay_IVROverlay_019 void cppIVROverlay_IVROverlay_019_FindOverlay( struct cppIVROverlay_IVROverlay_019_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_019_CreateOverlay( struct cppIVROverlay_IVROverlay_019_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_019_DestroyOverlay( struct cppIVROverlay_IVROverlay_019_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_019_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_019_SetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetHighQualityOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_019_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_019_GetHighQualityOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetHighQualityOverlay( ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint64_t)iface->GetHighQualityOverlay( ); } void cppIVROverlay_IVROverlay_019_GetOverlayKey( struct cppIVROverlay_IVROverlay_019_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_019_GetOverlayName( struct cppIVROverlay_IVROverlay_019_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_019_SetOverlayName( struct cppIVROverlay_IVROverlay_019_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_019_GetOverlayImageData( struct cppIVROverlay_IVROverlay_019_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_019_SetOverlayFlag( struct cppIVROverlay_IVROverlay_019_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_019_GetOverlayFlag( struct cppIVROverlay_IVROverlay_019_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_019_SetOverlayColor( struct cppIVROverlay_IVROverlay_019_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_019_GetOverlayColor( struct cppIVROverlay_IVROverlay_019_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_019_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_019_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_019_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_019_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_019_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_019_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_019_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_019_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_019_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_019_GetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); } void cppIVROverlay_IVROverlay_019_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_019_SetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); } void cppIVROverlay_IVROverlay_019_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_019_ShowOverlay( struct cppIVROverlay_IVROverlay_019_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_019_HideOverlay( struct cppIVROverlay_IVROverlay_019_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_019_IsOverlayVisible( struct cppIVROverlay_IVROverlay_019_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_019_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_019_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_019_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_019_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_019_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_019_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_019_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_019_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_019_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_019_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_019_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_019_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); } void cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); } void cppIVROverlay_IVROverlay_019_SetOverlayTexture( struct cppIVROverlay_IVROverlay_019_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_019_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_019_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_019_SetOverlayRaw( struct cppIVROverlay_IVROverlay_019_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_019_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_019_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_019_GetOverlayTexture( struct cppIVROverlay_IVROverlay_019_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_019_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_019_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_019_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_019_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_019_IsDashboardVisible( struct cppIVROverlay_IVROverlay_019_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_019_ShowDashboard( struct cppIVROverlay_IVROverlay_019_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_019_ShowKeyboard( struct cppIVROverlay_IVROverlay_019_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_019_GetKeyboardText( struct cppIVROverlay_IVROverlay_019_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_019_HideKeyboard( struct cppIVROverlay_IVROverlay_019_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_019_GetOverlayFlags( struct cppIVROverlay_IVROverlay_019_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_019_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_019_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_019_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_019_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_019 *iface = (struct cppIVROverlay_IVROverlay_019 *)params->linux_side; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h index b7e0f241..8a92a45e 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_019; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_019_FindOverlay_params { void *linux_side; @@ -434,7 +439,7 @@ struct cppIVROverlay_IVROverlay_019_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1610 *pEvent; + w_VREvent_t_1322 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_019_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_019_PollNextOverlayEvent_params *params ); @@ -554,7 +559,7 @@ struct cppIVROverlay_IVROverlay_019_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_019_SetOverlayTexture( struct cppIVROverlay_IVROverlay_019_SetOverlayTexture_params *params ); @@ -780,5 +785,5 @@ struct cppIVROverlay_IVROverlay_019_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_019_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_019_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp index ce339282..dbb5a5a0 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.7.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_020.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_020 +struct u_IVROverlay_IVROverlay_020 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -56,7 +47,7 @@ struct cppIVROverlay_IVROverlay_020 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_1322 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -69,7 +60,7 @@ struct cppIVROverlay_IVROverlay_020 virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -98,490 +89,485 @@ struct cppIVROverlay_IVROverlay_020 void cppIVROverlay_IVROverlay_020_FindOverlay( struct cppIVROverlay_IVROverlay_020_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_020_CreateOverlay( struct cppIVROverlay_IVROverlay_020_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_020_DestroyOverlay( struct cppIVROverlay_IVROverlay_020_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_020_GetOverlayKey( struct cppIVROverlay_IVROverlay_020_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_020_GetOverlayName( struct cppIVROverlay_IVROverlay_020_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_020_SetOverlayName( struct cppIVROverlay_IVROverlay_020_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_020_GetOverlayImageData( struct cppIVROverlay_IVROverlay_020_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_020_SetOverlayFlag( struct cppIVROverlay_IVROverlay_020_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_020_GetOverlayFlag( struct cppIVROverlay_IVROverlay_020_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_020_SetOverlayColor( struct cppIVROverlay_IVROverlay_020_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_020_GetOverlayColor( struct cppIVROverlay_IVROverlay_020_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_020_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_020_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_020_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_020_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_020_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_020_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_020_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_020_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); } void cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_020_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_020_GetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); } void cppIVROverlay_IVROverlay_020_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_020_SetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); } void cppIVROverlay_IVROverlay_020_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_020_ShowOverlay( struct cppIVROverlay_IVROverlay_020_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_020_HideOverlay( struct cppIVROverlay_IVROverlay_020_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_020_IsOverlayVisible( struct cppIVROverlay_IVROverlay_020_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_020_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_020_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_020_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_020_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_020_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_020_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_020_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_020_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_020_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_020_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetGamepadFocusOverlay( ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint64_t)iface->GetGamepadFocusOverlay( ); } void cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); } void cppIVROverlay_IVROverlay_020_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_020_SetOverlayNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); } void cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); } void cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); } void cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); } void cppIVROverlay_IVROverlay_020_SetOverlayTexture( struct cppIVROverlay_IVROverlay_020_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_020_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_020_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_020_SetOverlayRaw( struct cppIVROverlay_IVROverlay_020_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_020_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_020_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_020_GetOverlayTexture( struct cppIVROverlay_IVROverlay_020_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_020_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_020_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_020_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_020_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_020_IsDashboardVisible( struct cppIVROverlay_IVROverlay_020_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_020_ShowDashboard( struct cppIVROverlay_IVROverlay_020_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_020_ShowKeyboard( struct cppIVROverlay_IVROverlay_020_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_020_GetKeyboardText( struct cppIVROverlay_IVROverlay_020_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_020_HideKeyboard( struct cppIVROverlay_IVROverlay_020_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_020_GetOverlayFlags( struct cppIVROverlay_IVROverlay_020_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_020_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_020_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_020_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_020_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_020 *iface = (struct cppIVROverlay_IVROverlay_020 *)params->linux_side; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h index b18df6f7..227dd197 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_020; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_020_FindOverlay_params { void *linux_side; @@ -419,7 +424,7 @@ struct cppIVROverlay_IVROverlay_020_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1715 *pEvent; + w_VREvent_t_1322 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_020_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_020_PollNextOverlayEvent_params *params ); @@ -539,7 +544,7 @@ struct cppIVROverlay_IVROverlay_020_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_020_SetOverlayTexture( struct cppIVROverlay_IVROverlay_020_SetOverlayTexture_params *params ); @@ -765,5 +770,5 @@ struct cppIVROverlay_IVROverlay_020_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_020_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_020_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp index 892a4601..dc22d25d 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.8.19/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_021.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_021 +struct u_IVROverlay_IVROverlay_021 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -56,7 +47,7 @@ struct cppIVROverlay_IVROverlay_021 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_1322 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -65,7 +56,7 @@ struct cppIVROverlay_IVROverlay_021 virtual bool IsHoverTargetOverlay( uint64_t ) = 0; virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -94,466 +85,461 @@ struct cppIVROverlay_IVROverlay_021 void cppIVROverlay_IVROverlay_021_FindOverlay( struct cppIVROverlay_IVROverlay_021_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_021_CreateOverlay( struct cppIVROverlay_IVROverlay_021_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_021_DestroyOverlay( struct cppIVROverlay_IVROverlay_021_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_021_GetOverlayKey( struct cppIVROverlay_IVROverlay_021_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_021_GetOverlayName( struct cppIVROverlay_IVROverlay_021_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_021_SetOverlayName( struct cppIVROverlay_IVROverlay_021_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_021_GetOverlayImageData( struct cppIVROverlay_IVROverlay_021_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_021_SetOverlayFlag( struct cppIVROverlay_IVROverlay_021_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_021_GetOverlayFlag( struct cppIVROverlay_IVROverlay_021_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_021_SetOverlayColor( struct cppIVROverlay_IVROverlay_021_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_021_GetOverlayColor( struct cppIVROverlay_IVROverlay_021_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_021_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_021_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_021_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_021_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_021_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_021_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_021_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_021_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_021_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_021_SetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); } void cppIVROverlay_IVROverlay_021_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_021_GetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); } void cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_021_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_021_GetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); } void cppIVROverlay_IVROverlay_021_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_021_SetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); } void cppIVROverlay_IVROverlay_021_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_021_ShowOverlay( struct cppIVROverlay_IVROverlay_021_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_021_HideOverlay( struct cppIVROverlay_IVROverlay_021_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_021_IsOverlayVisible( struct cppIVROverlay_IVROverlay_021_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_021_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_021_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_021_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_021_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_021_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_021_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_021_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_021_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_021_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_021_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); } void cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); } void cppIVROverlay_IVROverlay_021_SetOverlayTexture( struct cppIVROverlay_IVROverlay_021_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_021_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_021_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_021_SetOverlayRaw( struct cppIVROverlay_IVROverlay_021_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); } void cppIVROverlay_IVROverlay_021_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_021_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_021_GetOverlayTexture( struct cppIVROverlay_IVROverlay_021_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_021_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_021_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_021_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_021_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_021_IsDashboardVisible( struct cppIVROverlay_IVROverlay_021_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_021_ShowDashboard( struct cppIVROverlay_IVROverlay_021_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_021_ShowKeyboard( struct cppIVROverlay_IVROverlay_021_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_021_GetKeyboardText( struct cppIVROverlay_IVROverlay_021_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_021_HideKeyboard( struct cppIVROverlay_IVROverlay_021_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_021_GetOverlayFlags( struct cppIVROverlay_IVROverlay_021_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_021_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_021_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_021_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_021_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_021 *iface = (struct cppIVROverlay_IVROverlay_021 *)params->linux_side; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h index b3dbf4a2..2489b705 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_021; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_021_FindOverlay_params { void *linux_side; @@ -417,7 +422,7 @@ struct cppIVROverlay_IVROverlay_021_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1819 *pEvent; + w_VREvent_t_1322 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_021_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_021_PollNextOverlayEvent_params *params ); @@ -503,7 +508,7 @@ struct cppIVROverlay_IVROverlay_021_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_021_SetOverlayTexture( struct cppIVROverlay_IVROverlay_021_SetOverlayTexture_params *params ); @@ -729,5 +734,5 @@ struct cppIVROverlay_IVROverlay_021_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_021_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_021_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp index 2771448d..6eeccc5f 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.9.16/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_022.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_022 +struct u_IVROverlay_IVROverlay_022 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -59,7 +50,7 @@ struct cppIVROverlay_IVROverlay_022 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_1322 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -73,7 +64,7 @@ struct cppIVROverlay_IVROverlay_022 virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -100,502 +91,497 @@ struct cppIVROverlay_IVROverlay_022 void cppIVROverlay_IVROverlay_022_FindOverlay( struct cppIVROverlay_IVROverlay_022_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_022_CreateOverlay( struct cppIVROverlay_IVROverlay_022_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_022_DestroyOverlay( struct cppIVROverlay_IVROverlay_022_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_022_GetOverlayKey( struct cppIVROverlay_IVROverlay_022_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_022_GetOverlayName( struct cppIVROverlay_IVROverlay_022_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_022_SetOverlayName( struct cppIVROverlay_IVROverlay_022_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_022_GetOverlayImageData( struct cppIVROverlay_IVROverlay_022_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_022_SetOverlayFlag( struct cppIVROverlay_IVROverlay_022_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_022_GetOverlayFlag( struct cppIVROverlay_IVROverlay_022_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_022_GetOverlayFlags( struct cppIVROverlay_IVROverlay_022_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_022_SetOverlayColor( struct cppIVROverlay_IVROverlay_022_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_022_GetOverlayColor( struct cppIVROverlay_IVROverlay_022_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_022_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_022_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_022_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_022_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_022_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_022_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_022_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_022_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_022_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_022_SetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); } void cppIVROverlay_IVROverlay_022_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_022_GetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); } void cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_022_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_022_GetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); } void cppIVROverlay_IVROverlay_022_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_022_SetOverlayRenderModel_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); } void cppIVROverlay_IVROverlay_022_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_022_ShowOverlay( struct cppIVROverlay_IVROverlay_022_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_022_HideOverlay( struct cppIVROverlay_IVROverlay_022_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_022_IsOverlayVisible( struct cppIVROverlay_IVROverlay_022_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_022_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_022_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_022_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_022_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_022_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_022_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_022_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_022_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_022_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_022_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); } void cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); } void cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); } void cppIVROverlay_IVROverlay_022_SetOverlayCursor( struct cppIVROverlay_IVROverlay_022_SetOverlayCursor_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); } void cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); } void cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_022_SetOverlayTexture( struct cppIVROverlay_IVROverlay_022_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_022_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_022_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_022_SetOverlayRaw( struct cppIVROverlay_IVROverlay_022_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); } void cppIVROverlay_IVROverlay_022_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_022_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_022_GetOverlayTexture( struct cppIVROverlay_IVROverlay_022_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_022_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_022_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_022_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_022_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_022_IsDashboardVisible( struct cppIVROverlay_IVROverlay_022_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_022_ShowDashboard( struct cppIVROverlay_IVROverlay_022_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_022_ShowKeyboard( struct cppIVROverlay_IVROverlay_022_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); } void cppIVROverlay_IVROverlay_022_GetKeyboardText( struct cppIVROverlay_IVROverlay_022_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_022_HideKeyboard( struct cppIVROverlay_IVROverlay_022_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_022_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_022_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_022_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_022_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_022 *iface = (struct cppIVROverlay_IVROverlay_022 *)params->linux_side; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h index 4db7969b..66fec76a 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_022; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_022_FindOverlay_params { void *linux_side; @@ -444,7 +449,7 @@ struct cppIVROverlay_IVROverlay_022_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1916 *pEvent; + w_VREvent_t_1322 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_022_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_022_PollNextOverlayEvent_params *params ); @@ -578,7 +583,7 @@ struct cppIVROverlay_IVROverlay_022_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_022_SetOverlayTexture( struct cppIVROverlay_IVROverlay_022_SetOverlayTexture_params *params ); @@ -784,5 +789,5 @@ struct cppIVROverlay_IVROverlay_022_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_022_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_022_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp index 3151d93b..727f930d 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.14.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_024.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_024 +struct u_IVROverlay_IVROverlay_024 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -57,7 +48,7 @@ struct cppIVROverlay_IVROverlay_024 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_11030 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -69,7 +60,7 @@ struct cppIVROverlay_IVROverlay_024 virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -96,478 +87,473 @@ struct cppIVROverlay_IVROverlay_024 void cppIVROverlay_IVROverlay_024_FindOverlay( struct cppIVROverlay_IVROverlay_024_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_024_CreateOverlay( struct cppIVROverlay_IVROverlay_024_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_024_DestroyOverlay( struct cppIVROverlay_IVROverlay_024_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_024_GetOverlayKey( struct cppIVROverlay_IVROverlay_024_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_024_GetOverlayName( struct cppIVROverlay_IVROverlay_024_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_024_SetOverlayName( struct cppIVROverlay_IVROverlay_024_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_024_GetOverlayImageData( struct cppIVROverlay_IVROverlay_024_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_024_SetOverlayFlag( struct cppIVROverlay_IVROverlay_024_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_024_GetOverlayFlag( struct cppIVROverlay_IVROverlay_024_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_024_GetOverlayFlags( struct cppIVROverlay_IVROverlay_024_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_024_SetOverlayColor( struct cppIVROverlay_IVROverlay_024_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_024_GetOverlayColor( struct cppIVROverlay_IVROverlay_024_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_024_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_024_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_024_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_024_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_024_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_024_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_024_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_024_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_024_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_024_SetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); } void cppIVROverlay_IVROverlay_024_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_024_GetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); } void cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_024_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_024_ShowOverlay( struct cppIVROverlay_IVROverlay_024_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_024_HideOverlay( struct cppIVROverlay_IVROverlay_024_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_024_IsOverlayVisible( struct cppIVROverlay_IVROverlay_024_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_024_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_024_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + u_VREvent_t_11030 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_024_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_024_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_024_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_024_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_024_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_024_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_024_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_024_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); } void cppIVROverlay_IVROverlay_024_SetOverlayCursor( struct cppIVROverlay_IVROverlay_024_SetOverlayCursor_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); } void cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); } void cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_024_SetOverlayTexture( struct cppIVROverlay_IVROverlay_024_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_024_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_024_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_024_SetOverlayRaw( struct cppIVROverlay_IVROverlay_024_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); } void cppIVROverlay_IVROverlay_024_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_024_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_024_GetOverlayTexture( struct cppIVROverlay_IVROverlay_024_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_024_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_024_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_024_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_024_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_024_IsDashboardVisible( struct cppIVROverlay_IVROverlay_024_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_024_ShowDashboard( struct cppIVROverlay_IVROverlay_024_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_024_ShowKeyboard( struct cppIVROverlay_IVROverlay_024_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); } void cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); } void cppIVROverlay_IVROverlay_024_GetKeyboardText( struct cppIVROverlay_IVROverlay_024_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_024_HideKeyboard( struct cppIVROverlay_IVROverlay_024_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_024_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_024_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_024_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_024_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_024 *iface = (struct cppIVROverlay_IVROverlay_024 *)params->linux_side; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h index c540e75f..933328b1 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_024; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_024_FindOverlay_params { void *linux_side; @@ -422,7 +427,7 @@ struct cppIVROverlay_IVROverlay_024_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_11415 *pEvent; + w_VREvent_t_11030 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_024_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_024_PollNextOverlayEvent_params *params ); @@ -534,7 +539,7 @@ struct cppIVROverlay_IVROverlay_024_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_024_SetOverlayTexture( struct cppIVROverlay_IVROverlay_024_SetOverlayTexture_params *params ); @@ -740,5 +745,5 @@ struct cppIVROverlay_IVROverlay_024_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_024_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_024_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp index 5003a15f..023a0194 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.16.8/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_025.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_025 +struct u_IVROverlay_IVROverlay_025 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -58,7 +49,7 @@ struct cppIVROverlay_IVROverlay_025 virtual uint32_t HideOverlay( uint64_t ) = 0; virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_1168 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -70,7 +61,7 @@ struct cppIVROverlay_IVROverlay_025 virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -97,484 +88,479 @@ struct cppIVROverlay_IVROverlay_025 void cppIVROverlay_IVROverlay_025_FindOverlay( struct cppIVROverlay_IVROverlay_025_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_025_CreateOverlay( struct cppIVROverlay_IVROverlay_025_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_025_DestroyOverlay( struct cppIVROverlay_IVROverlay_025_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_025_GetOverlayKey( struct cppIVROverlay_IVROverlay_025_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_025_GetOverlayName( struct cppIVROverlay_IVROverlay_025_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_025_SetOverlayName( struct cppIVROverlay_IVROverlay_025_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_025_GetOverlayImageData( struct cppIVROverlay_IVROverlay_025_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_025_SetOverlayFlag( struct cppIVROverlay_IVROverlay_025_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_025_GetOverlayFlag( struct cppIVROverlay_IVROverlay_025_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_025_GetOverlayFlags( struct cppIVROverlay_IVROverlay_025_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_025_SetOverlayColor( struct cppIVROverlay_IVROverlay_025_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_025_GetOverlayColor( struct cppIVROverlay_IVROverlay_025_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_025_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_025_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_025_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_025_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_025_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_025_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_025_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_025_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_025_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_025_SetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); } void cppIVROverlay_IVROverlay_025_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_025_GetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); } void cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_025_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTransformProjection( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform, params->pProjection, params->eEye ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformProjection( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform, params->pProjection, params->eEye ); } void cppIVROverlay_IVROverlay_025_ShowOverlay( struct cppIVROverlay_IVROverlay_025_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_025_HideOverlay( struct cppIVROverlay_IVROverlay_025_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_025_IsOverlayVisible( struct cppIVROverlay_IVROverlay_025_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_025_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_025_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_025_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_025_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_025_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_025_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_025_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_025_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_025_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_025_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); } void cppIVROverlay_IVROverlay_025_SetOverlayCursor( struct cppIVROverlay_IVROverlay_025_SetOverlayCursor_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); } void cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); } void cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_025_SetOverlayTexture( struct cppIVROverlay_IVROverlay_025_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_025_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_025_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_025_SetOverlayRaw( struct cppIVROverlay_IVROverlay_025_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); } void cppIVROverlay_IVROverlay_025_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_025_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_025_GetOverlayTexture( struct cppIVROverlay_IVROverlay_025_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_025_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_025_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_025_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_025_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_025_IsDashboardVisible( struct cppIVROverlay_IVROverlay_025_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_025_ShowDashboard( struct cppIVROverlay_IVROverlay_025_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_025_ShowKeyboard( struct cppIVROverlay_IVROverlay_025_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); } void cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); } void cppIVROverlay_IVROverlay_025_GetKeyboardText( struct cppIVROverlay_IVROverlay_025_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_025_HideKeyboard( struct cppIVROverlay_IVROverlay_025_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_025_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_025_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_025_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_025_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_025 *iface = (struct cppIVROverlay_IVROverlay_025 *)params->linux_side; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h index 2f75a0f8..5a8bc1d7 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_025; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_025_FindOverlay_params { void *linux_side; @@ -434,7 +439,7 @@ struct cppIVROverlay_IVROverlay_025_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1168 *pEvent; + w_VREvent_t_1168 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_025_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_025_PollNextOverlayEvent_params *params ); @@ -546,7 +551,7 @@ struct cppIVROverlay_IVROverlay_025_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_025_SetOverlayTexture( struct cppIVROverlay_IVROverlay_025_SetOverlayTexture_params *params ); @@ -752,5 +757,5 @@ struct cppIVROverlay_IVROverlay_025_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_025_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_025_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp index 0abfb118..4652504d 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_026.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_026 +struct u_IVROverlay_IVROverlay_026 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -61,7 +52,7 @@ struct cppIVROverlay_IVROverlay_026 virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; virtual uint32_t WaitFrameSync( uint32_t ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_1168 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -73,7 +64,7 @@ struct cppIVROverlay_IVROverlay_026 virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -100,502 +91,497 @@ struct cppIVROverlay_IVROverlay_026 void cppIVROverlay_IVROverlay_026_FindOverlay( struct cppIVROverlay_IVROverlay_026_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_026_CreateOverlay( struct cppIVROverlay_IVROverlay_026_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_026_DestroyOverlay( struct cppIVROverlay_IVROverlay_026_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_026_GetOverlayKey( struct cppIVROverlay_IVROverlay_026_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_026_GetOverlayName( struct cppIVROverlay_IVROverlay_026_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_026_SetOverlayName( struct cppIVROverlay_IVROverlay_026_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_026_GetOverlayImageData( struct cppIVROverlay_IVROverlay_026_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_026_SetOverlayFlag( struct cppIVROverlay_IVROverlay_026_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_026_GetOverlayFlag( struct cppIVROverlay_IVROverlay_026_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_026_GetOverlayFlags( struct cppIVROverlay_IVROverlay_026_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_026_SetOverlayColor( struct cppIVROverlay_IVROverlay_026_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_026_GetOverlayColor( struct cppIVROverlay_IVROverlay_026_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_026_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_026_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_026_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_026_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_026_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_026_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_026_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_026_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_026_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_026_SetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); } void cppIVROverlay_IVROverlay_026_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_026_GetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); } void cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayPreCurvePitch( params->ulOverlayHandle, params->fRadians ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayPreCurvePitch( params->ulOverlayHandle, params->fRadians ); } void cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayPreCurvePitch( params->ulOverlayHandle, params->pfRadians ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayPreCurvePitch( params->ulOverlayHandle, params->pfRadians ); } void cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_026_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); } void cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTransformProjection( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform, params->pProjection, params->eEye ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformProjection( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform, params->pProjection, params->eEye ); } void cppIVROverlay_IVROverlay_026_ShowOverlay( struct cppIVROverlay_IVROverlay_026_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_026_HideOverlay( struct cppIVROverlay_IVROverlay_026_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_026_IsOverlayVisible( struct cppIVROverlay_IVROverlay_026_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_026_WaitFrameSync( struct cppIVROverlay_IVROverlay_026_WaitFrameSync_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->WaitFrameSync( params->nTimeoutMs ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitFrameSync( params->nTimeoutMs ); } void cppIVROverlay_IVROverlay_026_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_026_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_026_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_026_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_026_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_026_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_026_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_026_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_026_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_026_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); } void cppIVROverlay_IVROverlay_026_SetOverlayCursor( struct cppIVROverlay_IVROverlay_026_SetOverlayCursor_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); } void cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); } void cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_026_SetOverlayTexture( struct cppIVROverlay_IVROverlay_026_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_026_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_026_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_026_SetOverlayRaw( struct cppIVROverlay_IVROverlay_026_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); } void cppIVROverlay_IVROverlay_026_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_026_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_026_GetOverlayTexture( struct cppIVROverlay_IVROverlay_026_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_026_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_026_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_026_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_026_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_026_IsDashboardVisible( struct cppIVROverlay_IVROverlay_026_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_026_ShowDashboard( struct cppIVROverlay_IVROverlay_026_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_026_ShowKeyboard( struct cppIVROverlay_IVROverlay_026_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); } void cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); } void cppIVROverlay_IVROverlay_026_GetKeyboardText( struct cppIVROverlay_IVROverlay_026_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_026_HideKeyboard( struct cppIVROverlay_IVROverlay_026_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_026_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_026_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_026_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_026_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_026 *iface = (struct cppIVROverlay_IVROverlay_026 *)params->linux_side; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h index bded6f45..43f0f0ed 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_026; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_026_FindOverlay_params { void *linux_side; @@ -460,7 +465,7 @@ struct cppIVROverlay_IVROverlay_026_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1237 *pEvent; + w_VREvent_t_1168 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_026_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_026_PollNextOverlayEvent_params *params ); @@ -572,7 +577,7 @@ struct cppIVROverlay_IVROverlay_026_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_026_SetOverlayTexture( struct cppIVROverlay_IVROverlay_026_SetOverlayTexture_params *params ); @@ -778,5 +783,5 @@ struct cppIVROverlay_IVROverlay_026_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_026_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_026_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp index a62a7cd4..cd4ba0bc 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVROverlay_IVROverlay_027.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVROverlay_IVROverlay_027 +struct u_IVROverlay_IVROverlay_027 { #ifdef __cplusplus virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; @@ -59,7 +50,7 @@ struct cppIVROverlay_IVROverlay_027 virtual bool IsOverlayVisible( uint64_t ) = 0; virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; virtual uint32_t WaitFrameSync( uint32_t ) = 0; - virtual bool PollNextOverlayEvent( uint64_t, VREvent_t *, uint32_t ) = 0; + virtual bool PollNextOverlayEvent( uint64_t, u_VREvent_t_1168 *, uint32_t ) = 0; virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; @@ -71,7 +62,7 @@ struct cppIVROverlay_IVROverlay_027 virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; - virtual uint32_t SetOverlayTexture( uint64_t, const Texture_t * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; @@ -98,490 +89,485 @@ struct cppIVROverlay_IVROverlay_027 void cppIVROverlay_IVROverlay_027_FindOverlay( struct cppIVROverlay_IVROverlay_027_FindOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_027_CreateOverlay( struct cppIVROverlay_IVROverlay_027_CreateOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); } void cppIVROverlay_IVROverlay_027_DestroyOverlay( struct cppIVROverlay_IVROverlay_027_DestroyOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->DestroyOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_027_GetOverlayKey( struct cppIVROverlay_IVROverlay_027_GetOverlayKey_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_027_GetOverlayName( struct cppIVROverlay_IVROverlay_027_GetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); } void cppIVROverlay_IVROverlay_027_SetOverlayName( struct cppIVROverlay_IVROverlay_027_SetOverlayName_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); } void cppIVROverlay_IVROverlay_027_GetOverlayImageData( struct cppIVROverlay_IVROverlay_027_GetOverlayImageData_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); } void cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (const char *)iface->GetOverlayErrorNameFromEnum( params->error ); } void cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); } void cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayRenderingPid( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_027_SetOverlayFlag( struct cppIVROverlay_IVROverlay_027_SetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); } void cppIVROverlay_IVROverlay_027_GetOverlayFlag( struct cppIVROverlay_IVROverlay_027_GetOverlayFlag_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); } void cppIVROverlay_IVROverlay_027_GetOverlayFlags( struct cppIVROverlay_IVROverlay_027_GetOverlayFlags_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); } void cppIVROverlay_IVROverlay_027_SetOverlayColor( struct cppIVROverlay_IVROverlay_027_SetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); } void cppIVROverlay_IVROverlay_027_GetOverlayColor( struct cppIVROverlay_IVROverlay_027_GetOverlayColor_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); } void cppIVROverlay_IVROverlay_027_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_027_SetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); } void cppIVROverlay_IVROverlay_027_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_027_GetOverlayAlpha_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); } void cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); } void cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); } void cppIVROverlay_IVROverlay_027_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_027_SetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); } void cppIVROverlay_IVROverlay_027_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_027_GetOverlaySortOrder_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); } void cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); } void cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); } void cppIVROverlay_IVROverlay_027_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_027_SetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); } void cppIVROverlay_IVROverlay_027_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_027_GetOverlayCurvature_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); } void cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayPreCurvePitch( params->ulOverlayHandle, params->fRadians ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayPreCurvePitch( params->ulOverlayHandle, params->fRadians ); } void cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayPreCurvePitch( params->ulOverlayHandle, params->pfRadians ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayPreCurvePitch( params->ulOverlayHandle, params->pfRadians ); } void cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); } void cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); } void cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); } void cppIVROverlay_IVROverlay_027_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformType_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); } void cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); } void cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); } void cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); } void cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); } void cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); } void cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayTransformProjection( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform, params->pProjection, params->eEye ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTransformProjection( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform, params->pProjection, params->eEye ); } void cppIVROverlay_IVROverlay_027_ShowOverlay( struct cppIVROverlay_IVROverlay_027_ShowOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_027_HideOverlay( struct cppIVROverlay_IVROverlay_027_HideOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->HideOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_027_IsOverlayVisible( struct cppIVROverlay_IVROverlay_027_IsOverlayVisible_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (bool)iface->IsOverlayVisible( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); } void cppIVROverlay_IVROverlay_027_WaitFrameSync( struct cppIVROverlay_IVROverlay_027_WaitFrameSync_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->WaitFrameSync( params->nTimeoutMs ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->WaitFrameSync( params->nTimeoutMs ); } void cppIVROverlay_IVROverlay_027_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_027_PollNextOverlayEvent_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextOverlayEvent( 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 ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVROverlay_IVROverlay_027_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_027_GetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); } void cppIVROverlay_IVROverlay_027_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_027_SetOverlayInputMethod_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); } void cppIVROverlay_IVROverlay_027_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_027_GetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_027_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_027_SetOverlayMouseScale_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); } void cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (bool)iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); } void cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (bool)iface->IsHoverTargetOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); } void cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); } void cppIVROverlay_IVROverlay_027_SetOverlayCursor( struct cppIVROverlay_IVROverlay_027_SetOverlayCursor_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); } void cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); } void cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_027_SetOverlayTexture( struct cppIVROverlay_IVROverlay_027_SetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); } void cppIVROverlay_IVROverlay_027_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_027_ClearOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->ClearOverlayTexture( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_027_SetOverlayRaw( struct cppIVROverlay_IVROverlay_027_SetOverlayRaw_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); } void cppIVROverlay_IVROverlay_027_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_027_SetOverlayFromFile_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetOverlayFromFile( params->ulOverlayHandle, params->pchFilePath ); } void cppIVROverlay_IVROverlay_027_GetOverlayTexture( struct cppIVROverlay_IVROverlay_027_GetOverlayTexture_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); } void cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); } void cppIVROverlay_IVROverlay_027_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_027_GetOverlayTextureSize_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); } void cppIVROverlay_IVROverlay_027_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_027_CreateDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); } void cppIVROverlay_IVROverlay_027_IsDashboardVisible( struct cppIVROverlay_IVROverlay_027_IsDashboardVisible_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->IsDashboardVisible( ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (bool)iface->IsDashboardVisible( ); } void cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (bool)iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); } void cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); } void cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); } void cppIVROverlay_IVROverlay_027_ShowDashboard( struct cppIVROverlay_IVROverlay_027_ShowDashboard_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; iface->ShowDashboard( params->pchOverlayToShow ); } void cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetPrimaryDashboardDevice( ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetPrimaryDashboardDevice( ); } void cppIVROverlay_IVROverlay_027_ShowKeyboard( struct cppIVROverlay_IVROverlay_027_ShowKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); } void cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); } void cppIVROverlay_IVROverlay_027_GetKeyboardText( struct cppIVROverlay_IVROverlay_027_GetKeyboardText_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->GetKeyboardText( params->pchText, params->cchText ); } void cppIVROverlay_IVROverlay_027_HideKeyboard( struct cppIVROverlay_IVROverlay_027_HideKeyboard_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; iface->HideKeyboard( ); } void cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); } void cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); } void cppIVROverlay_IVROverlay_027_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_027_ShowMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; - params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = (uint32_t)iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); } void cppIVROverlay_IVROverlay_027_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_027_CloseMessageOverlay_params *params ) { - struct cppIVROverlay_IVROverlay_027 *iface = (struct cppIVROverlay_IVROverlay_027 *)params->linux_side; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; iface->CloseMessageOverlay( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.h index 086579eb..0f2c32a5 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVROverlay_IVROverlay_027; +#endif /* __cplusplus */ + struct cppIVROverlay_IVROverlay_027_FindOverlay_params { void *linux_side; @@ -440,7 +445,7 @@ struct cppIVROverlay_IVROverlay_027_PollNextOverlayEvent_params void *linux_side; bool _ret; uint64_t ulOverlayHandle; - winVREvent_t_1267 *pEvent; + w_VREvent_t_1168 *pEvent; uint32_t uncbVREvent; }; extern void cppIVROverlay_IVROverlay_027_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_027_PollNextOverlayEvent_params *params ); @@ -552,7 +557,7 @@ struct cppIVROverlay_IVROverlay_027_SetOverlayTexture_params void *linux_side; uint32_t _ret; uint64_t ulOverlayHandle; - const Texture_t *pTexture; + const w_Texture_t *pTexture; }; extern void cppIVROverlay_IVROverlay_027_SetOverlayTexture( struct cppIVROverlay_IVROverlay_027_SetOverlayTexture_params *params ); @@ -758,5 +763,5 @@ struct cppIVROverlay_IVROverlay_027_CloseMessageOverlay_params extern void cppIVROverlay_IVROverlay_027_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_027_CloseMessageOverlay_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp index fe5d6ac7..47a0cd71 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp @@ -1,20 +1,11 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRRenderModels_IVRRenderModels_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRRenderModels_IVRRenderModels_001 +struct u_IVRRenderModels_IVRRenderModels_001 { #ifdef __cplusplus - virtual bool LoadRenderModel( const char *, RenderModel_t * ) = 0; - virtual void FreeRenderModel( RenderModel_t * ) = 0; + virtual bool LoadRenderModel( const char *, u_RenderModel_t_090 * ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_090 * ) = 0; virtual uint32_t GetRenderModelName( uint32_t, char *, uint32_t ) = 0; virtual uint32_t GetRenderModelCount( ) = 0; #endif /* __cplusplus */ @@ -22,28 +13,25 @@ struct cppIVRRenderModels_IVRRenderModels_001 void cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel( struct cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_001 *iface = (struct cppIVRRenderModels_IVRRenderModels_001 *)params->linux_side; - params->_ret = iface->LoadRenderModel( params->pchRenderModelName, struct_RenderModel_t_0910_unwrap( params->pRenderModel ) ); + struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side; + params->_ret = (bool)iface->LoadRenderModel( params->pchRenderModelName, struct_RenderModel_t_090_unwrap( params->pRenderModel ) ); } void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_001 *iface = (struct cppIVRRenderModels_IVRRenderModels_001 *)params->linux_side; - iface->FreeRenderModel( struct_RenderModel_t_0910_unwrap( params->pRenderModel ) ); + struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side; + iface->FreeRenderModel( struct_RenderModel_t_090_unwrap( params->pRenderModel ) ); } void cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_001 *iface = (struct cppIVRRenderModels_IVRRenderModels_001 *)params->linux_side; - params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); } void cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_001 *iface = (struct cppIVRRenderModels_IVRRenderModels_001 *)params->linux_side; - params->_ret = iface->GetRenderModelCount( ); + struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelCount( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h index 104b8a56..b844f34a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h @@ -1,20 +1,25 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRRenderModels_IVRRenderModels_001; +#endif /* __cplusplus */ + struct cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel_params { void *linux_side; bool _ret; const char *pchRenderModelName; - winRenderModel_t_0910 *pRenderModel; + w_RenderModel_t_090 *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; + w_RenderModel_t_090 *pRenderModel; }; extern void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *params ); @@ -36,5 +41,5 @@ struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params extern void cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp index 4b5c4f96..2d9e8502 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp @@ -1,114 +1,101 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRRenderModels_IVRRenderModels_002.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRRenderModels_IVRRenderModels_002 +struct u_IVRRenderModels_IVRRenderModels_002 { #ifdef __cplusplus - virtual bool LoadRenderModel( const char *, RenderModel_t ** ) = 0; - virtual void FreeRenderModel( RenderModel_t * ) = 0; - virtual bool LoadTexture( int32_t, RenderModel_TextureMap_t ** ) = 0; - virtual void FreeTexture( RenderModel_TextureMap_t * ) = 0; + virtual bool LoadRenderModel( const char *, u_RenderModel_t_0912 ** ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_0912 * ) = 0; + virtual bool LoadTexture( int32_t, u_RenderModel_TextureMap_t_090 ** ) = 0; + virtual void FreeTexture( u_RenderModel_TextureMap_t_090 * ) = 0; virtual uint32_t GetRenderModelName( uint32_t, char *, uint32_t ) = 0; virtual uint32_t GetRenderModelCount( ) = 0; virtual uint32_t GetComponentCount( const char * ) = 0; virtual uint32_t GetComponentName( const char *, uint32_t, char *, uint32_t ) = 0; virtual uint64_t GetComponentButtonMask( const char *, const char * ) = 0; virtual uint32_t GetComponentRenderModelName( const char *, const char *, char *, uint32_t ) = 0; - virtual bool GetComponentState( const char *, const char *, const VRControllerState_t *, RenderModel_ComponentState_t * ) = 0; + virtual bool GetComponentState( const char *, const char *, const u_VRControllerState001_t *, RenderModel_ComponentState_t * ) = 0; virtual bool RenderModelHasComponent( const char *, const char * ) = 0; #endif /* __cplusplus */ }; void cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel( struct cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - RenderModel_t *lin_ppRenderModel; - params->_ret = iface->LoadRenderModel( params->pchRenderModelName, params->ppRenderModel ? &lin_ppRenderModel : nullptr ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + u_RenderModel_t_0912 *u_ppRenderModel; + params->_ret = (bool)iface->LoadRenderModel( params->pchRenderModelName, params->ppRenderModel ? &u_ppRenderModel : nullptr ); if (params->_ret == 0) - *params->ppRenderModel = struct_RenderModel_t_0915_wrap( lin_ppRenderModel ); + *params->ppRenderModel = struct_RenderModel_t_0912_wrap( u_ppRenderModel ); } void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - iface->FreeRenderModel( struct_RenderModel_t_0915_unwrap( params->pRenderModel ) ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + iface->FreeRenderModel( struct_RenderModel_t_0912_unwrap( params->pRenderModel ) ); } void cppIVRRenderModels_IVRRenderModels_002_LoadTexture( struct cppIVRRenderModels_IVRRenderModels_002_LoadTexture_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - RenderModel_TextureMap_t *lin_ppTexture; - params->_ret = iface->LoadTexture( params->textureId, params->ppTexture ? &lin_ppTexture : nullptr ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + u_RenderModel_TextureMap_t_090 *u_ppTexture; + params->_ret = (bool)iface->LoadTexture( params->textureId, params->ppTexture ? &u_ppTexture : nullptr ); if (params->_ret == 0) - *params->ppTexture = struct_RenderModel_TextureMap_t_0915_wrap( lin_ppTexture ); + *params->ppTexture = struct_RenderModel_TextureMap_t_090_wrap( u_ppTexture ); } void cppIVRRenderModels_IVRRenderModels_002_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_002_FreeTexture_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - iface->FreeTexture( struct_RenderModel_TextureMap_t_0915_unwrap( params->pTexture ) ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + iface->FreeTexture( struct_RenderModel_TextureMap_t_090_unwrap( params->pTexture ) ); } void cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); } void cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - params->_ret = iface->GetRenderModelCount( ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelCount( ); } void cppIVRRenderModels_IVRRenderModels_002_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentCount_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - params->_ret = iface->GetComponentCount( params->pchRenderModelName ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentCount( params->pchRenderModelName ); } void cppIVRRenderModels_IVRRenderModels_002_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); } void cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = (uint64_t)iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); } void cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); } void cppIVRRenderModels_IVRRenderModels_002_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentState_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0915_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &lin_pControllerState : nullptr, params->pComponentState ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pComponentState ); } void cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_002 *iface = (struct cppIVRRenderModels_IVRRenderModels_002 *)params->linux_side; - params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = (bool)iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h index b57e2e2c..5a791c81 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h @@ -1,20 +1,25 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRRenderModels_IVRRenderModels_002; +#endif /* __cplusplus */ + struct cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel_params { void *linux_side; bool _ret; const char *pchRenderModelName; - winRenderModel_t_0915 **ppRenderModel; + w_RenderModel_t_0912 **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; + w_RenderModel_t_0912 *pRenderModel; }; extern void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel_params *params ); @@ -23,14 +28,14 @@ struct cppIVRRenderModels_IVRRenderModels_002_LoadTexture_params void *linux_side; bool _ret; int32_t textureId; - winRenderModel_TextureMap_t_0915 **ppTexture; + w_RenderModel_TextureMap_t_090 **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; + w_RenderModel_TextureMap_t_090 *pTexture; }; extern void cppIVRRenderModels_IVRRenderModels_002_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_002_FreeTexture_params *params ); @@ -96,7 +101,7 @@ struct cppIVRRenderModels_IVRRenderModels_002_GetComponentState_params bool _ret; const char *pchRenderModelName; const char *pchComponentName; - const VRControllerState_t *pControllerState; + const w_VRControllerState001_t *pControllerState; RenderModel_ComponentState_t *pComponentState; }; extern void cppIVRRenderModels_IVRRenderModels_002_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentState_params *params ); @@ -111,5 +116,5 @@ struct cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params extern void cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp index 374240e9..e4ad5bde 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp @@ -1,22 +1,13 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRRenderModels_IVRRenderModels_004.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRRenderModels_IVRRenderModels_004 +struct u_IVRRenderModels_IVRRenderModels_004 { #ifdef __cplusplus - virtual uint32_t LoadRenderModel_Async( const char *, RenderModel_t ** ) = 0; - virtual void FreeRenderModel( RenderModel_t * ) = 0; - virtual uint32_t LoadTexture_Async( int32_t, RenderModel_TextureMap_t ** ) = 0; - virtual void FreeTexture( RenderModel_TextureMap_t * ) = 0; + virtual uint32_t LoadRenderModel_Async( const char *, u_RenderModel_t_0912 ** ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_0912 * ) = 0; + virtual uint32_t LoadTexture_Async( int32_t, u_RenderModel_TextureMap_t_090 ** ) = 0; + virtual void FreeTexture( u_RenderModel_TextureMap_t_090 * ) = 0; virtual uint32_t LoadTextureD3D11_Async( int32_t, void *, void ** ) = 0; virtual void FreeTextureD3D11( void * ) = 0; virtual uint32_t GetRenderModelName( uint32_t, char *, uint32_t ) = 0; @@ -25,104 +16,100 @@ struct cppIVRRenderModels_IVRRenderModels_004 virtual uint32_t GetComponentName( const char *, uint32_t, char *, uint32_t ) = 0; virtual uint64_t GetComponentButtonMask( const char *, const char * ) = 0; virtual uint32_t GetComponentRenderModelName( const char *, const char *, char *, uint32_t ) = 0; - virtual bool GetComponentState( const char *, const char *, const VRControllerState_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; + virtual bool GetComponentState( const char *, const char *, const u_VRControllerState001_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; virtual bool RenderModelHasComponent( const char *, const char * ) = 0; #endif /* __cplusplus */ }; void cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async( struct cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - RenderModel_t *lin_ppRenderModel; - params->_ret = iface->LoadRenderModel_Async( params->pchRenderModelName, params->ppRenderModel ? &lin_ppRenderModel : nullptr ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + u_RenderModel_t_0912 *u_ppRenderModel; + params->_ret = (uint32_t)iface->LoadRenderModel_Async( params->pchRenderModelName, params->ppRenderModel ? &u_ppRenderModel : nullptr ); if (params->_ret == 0) - *params->ppRenderModel = struct_RenderModel_t_0918_wrap( lin_ppRenderModel ); + *params->ppRenderModel = struct_RenderModel_t_0912_wrap( u_ppRenderModel ); } void cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - iface->FreeRenderModel( struct_RenderModel_t_0918_unwrap( params->pRenderModel ) ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + iface->FreeRenderModel( struct_RenderModel_t_0912_unwrap( params->pRenderModel ) ); } void cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async( struct cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - RenderModel_TextureMap_t *lin_ppTexture; - params->_ret = iface->LoadTexture_Async( params->textureId, params->ppTexture ? &lin_ppTexture : nullptr ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + u_RenderModel_TextureMap_t_090 *u_ppTexture; + params->_ret = (uint32_t)iface->LoadTexture_Async( params->textureId, params->ppTexture ? &u_ppTexture : nullptr ); if (params->_ret == 0) - *params->ppTexture = struct_RenderModel_TextureMap_t_0918_wrap( lin_ppTexture ); + *params->ppTexture = struct_RenderModel_TextureMap_t_090_wrap( u_ppTexture ); } void cppIVRRenderModels_IVRRenderModels_004_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_004_FreeTexture_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - iface->FreeTexture( struct_RenderModel_TextureMap_t_0918_unwrap( params->pTexture ) ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + iface->FreeTexture( struct_RenderModel_TextureMap_t_090_unwrap( params->pTexture ) ); } void cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - params->_ret = iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = (uint32_t)iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D ); } void cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11( struct cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; iface->FreeTextureD3D11( params->pD3D11Texture2D ); } void cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); } void cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - params->_ret = iface->GetRenderModelCount( ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelCount( ); } void cppIVRRenderModels_IVRRenderModels_004_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentCount_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - params->_ret = iface->GetComponentCount( params->pchRenderModelName ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentCount( params->pchRenderModelName ); } void cppIVRRenderModels_IVRRenderModels_004_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); } void cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = (uint64_t)iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); } void cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); } void cppIVRRenderModels_IVRRenderModels_004_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentState_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0918_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &lin_pControllerState : nullptr, params->pState, params->pComponentState ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pState, params->pComponentState ); } void cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_004 *iface = (struct cppIVRRenderModels_IVRRenderModels_004 *)params->linux_side; - params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = (bool)iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h index 2ae32e62..e77c4b1e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h @@ -1,20 +1,25 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRRenderModels_IVRRenderModels_004; +#endif /* __cplusplus */ + struct cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params { void *linux_side; uint32_t _ret; const char *pchRenderModelName; - winRenderModel_t_0918 **ppRenderModel; + w_RenderModel_t_0912 **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; + w_RenderModel_t_0912 *pRenderModel; }; extern void cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel_params *params ); @@ -23,14 +28,14 @@ struct cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params void *linux_side; uint32_t _ret; int32_t textureId; - winRenderModel_TextureMap_t_0918 **ppTexture; + w_RenderModel_TextureMap_t_090 **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; + w_RenderModel_TextureMap_t_090 *pTexture; }; extern void cppIVRRenderModels_IVRRenderModels_004_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_004_FreeTexture_params *params ); @@ -113,7 +118,7 @@ struct cppIVRRenderModels_IVRRenderModels_004_GetComponentState_params bool _ret; const char *pchRenderModelName; const char *pchComponentName; - const VRControllerState_t *pControllerState; + const w_VRControllerState001_t *pControllerState; const RenderModel_ControllerMode_State_t *pState; RenderModel_ComponentState_t *pComponentState; }; @@ -129,5 +134,5 @@ struct cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params extern void cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp index 3cd3b091..107749eb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp @@ -1,22 +1,13 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRRenderModels_IVRRenderModels_005.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRRenderModels_IVRRenderModels_005 +struct u_IVRRenderModels_IVRRenderModels_005 { #ifdef __cplusplus - virtual uint32_t LoadRenderModel_Async( const char *, RenderModel_t ** ) = 0; - virtual void FreeRenderModel( RenderModel_t * ) = 0; - virtual uint32_t LoadTexture_Async( int32_t, RenderModel_TextureMap_t ** ) = 0; - virtual void FreeTexture( RenderModel_TextureMap_t * ) = 0; + virtual uint32_t LoadRenderModel_Async( const char *, u_RenderModel_t_0912 ** ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_0912 * ) = 0; + virtual uint32_t LoadTexture_Async( int32_t, u_RenderModel_TextureMap_t_090 ** ) = 0; + virtual void FreeTexture( u_RenderModel_TextureMap_t_090 * ) = 0; virtual uint32_t LoadTextureD3D11_Async( int32_t, void *, void ** ) = 0; virtual uint32_t LoadIntoTextureD3D11_Async( int32_t, void * ) = 0; virtual void FreeTextureD3D11( void * ) = 0; @@ -26,7 +17,7 @@ struct cppIVRRenderModels_IVRRenderModels_005 virtual uint32_t GetComponentName( const char *, uint32_t, char *, uint32_t ) = 0; virtual uint64_t GetComponentButtonMask( const char *, const char * ) = 0; virtual uint32_t GetComponentRenderModelName( const char *, const char *, char *, uint32_t ) = 0; - virtual bool GetComponentState( const char *, const char *, const VRControllerState_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; + virtual bool GetComponentState( const char *, const char *, const u_VRControllerState001_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; virtual bool RenderModelHasComponent( const char *, const char * ) = 0; virtual uint32_t GetRenderModelThumbnailURL( const char *, char *, uint32_t, uint32_t * ) = 0; virtual uint32_t GetRenderModelOriginalPath( const char *, char *, uint32_t, uint32_t * ) = 0; @@ -36,121 +27,117 @@ struct cppIVRRenderModels_IVRRenderModels_005 void cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - RenderModel_t *lin_ppRenderModel; - params->_ret = iface->LoadRenderModel_Async( params->pchRenderModelName, params->ppRenderModel ? &lin_ppRenderModel : nullptr ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + u_RenderModel_t_0912 *u_ppRenderModel; + params->_ret = (uint32_t)iface->LoadRenderModel_Async( params->pchRenderModelName, params->ppRenderModel ? &u_ppRenderModel : nullptr ); if (params->_ret == 0) - *params->ppRenderModel = struct_RenderModel_t_1015_wrap( lin_ppRenderModel ); + *params->ppRenderModel = struct_RenderModel_t_0912_wrap( u_ppRenderModel ); } void cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - iface->FreeRenderModel( struct_RenderModel_t_1015_unwrap( params->pRenderModel ) ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + iface->FreeRenderModel( struct_RenderModel_t_0912_unwrap( params->pRenderModel ) ); } void cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - RenderModel_TextureMap_t *lin_ppTexture; - params->_ret = iface->LoadTexture_Async( params->textureId, params->ppTexture ? &lin_ppTexture : nullptr ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + u_RenderModel_TextureMap_t_090 *u_ppTexture; + params->_ret = (uint32_t)iface->LoadTexture_Async( params->textureId, params->ppTexture ? &u_ppTexture : nullptr ); if (params->_ret == 0) - *params->ppTexture = struct_RenderModel_TextureMap_t_1015_wrap( lin_ppTexture ); + *params->ppTexture = struct_RenderModel_TextureMap_t_090_wrap( u_ppTexture ); } void cppIVRRenderModels_IVRRenderModels_005_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_005_FreeTexture_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - iface->FreeTexture( struct_RenderModel_TextureMap_t_1015_unwrap( params->pTexture ) ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + iface->FreeTexture( struct_RenderModel_TextureMap_t_090_unwrap( params->pTexture ) ); } void cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint32_t)iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D ); } void cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->LoadIntoTextureD3D11_Async( params->textureId, params->pDstTexture ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint32_t)iface->LoadIntoTextureD3D11_Async( params->textureId, params->pDstTexture ); } void cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11( struct cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; iface->FreeTextureD3D11( params->pD3D11Texture2D ); } void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); } void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->GetRenderModelCount( ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelCount( ); } void cppIVRRenderModels_IVRRenderModels_005_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentCount_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->GetComponentCount( params->pchRenderModelName ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentCount( params->pchRenderModelName ); } void cppIVRRenderModels_IVRRenderModels_005_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); } void cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint64_t)iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); } void cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); } void cppIVRRenderModels_IVRRenderModels_005_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentState_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_1015_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &lin_pControllerState : nullptr, params->pState, params->pComponentState ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pState, params->pComponentState ); } void cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (bool)iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); } void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->GetRenderModelThumbnailURL( params->pchRenderModelName, params->pchThumbnailURL, params->unThumbnailURLLen, params->peError ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelThumbnailURL( params->pchRenderModelName, params->pchThumbnailURL, params->unThumbnailURLLen, params->peError ); } void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->GetRenderModelOriginalPath( params->pchRenderModelName, params->pchOriginalPath, params->unOriginalPathLen, params->peError ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelOriginalPath( params->pchRenderModelName, params->pchOriginalPath, params->unOriginalPathLen, params->peError ); } void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_005 *iface = (struct cppIVRRenderModels_IVRRenderModels_005 *)params->linux_side; - params->_ret = iface->GetRenderModelErrorNameFromEnum( params->error ); + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = (const char *)iface->GetRenderModelErrorNameFromEnum( params->error ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h index 84f6b18b..e6f62396 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h @@ -1,20 +1,25 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRRenderModels_IVRRenderModels_005; +#endif /* __cplusplus */ + struct cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params { void *linux_side; uint32_t _ret; const char *pchRenderModelName; - winRenderModel_t_1015 **ppRenderModel; + w_RenderModel_t_0912 **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; + w_RenderModel_t_0912 *pRenderModel; }; extern void cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel_params *params ); @@ -23,14 +28,14 @@ struct cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params void *linux_side; uint32_t _ret; int32_t textureId; - winRenderModel_TextureMap_t_1015 **ppTexture; + w_RenderModel_TextureMap_t_090 **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; + w_RenderModel_TextureMap_t_090 *pTexture; }; extern void cppIVRRenderModels_IVRRenderModels_005_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_005_FreeTexture_params *params ); @@ -122,7 +127,7 @@ struct cppIVRRenderModels_IVRRenderModels_005_GetComponentState_params bool _ret; const char *pchRenderModelName; const char *pchComponentName; - const VRControllerState_t *pControllerState; + const w_VRControllerState001_t *pControllerState; const RenderModel_ControllerMode_State_t *pState; RenderModel_ComponentState_t *pComponentState; }; @@ -168,5 +173,5 @@ struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_pa extern void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp index 8115adc3..bf48fbd2 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp @@ -1,22 +1,13 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRRenderModels_IVRRenderModels_006.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRRenderModels_IVRRenderModels_006 +struct u_IVRRenderModels_IVRRenderModels_006 { #ifdef __cplusplus - virtual uint32_t LoadRenderModel_Async( const char *, RenderModel_t ** ) = 0; - virtual void FreeRenderModel( RenderModel_t * ) = 0; - virtual uint32_t LoadTexture_Async( int32_t, RenderModel_TextureMap_t ** ) = 0; - virtual void FreeTexture( RenderModel_TextureMap_t * ) = 0; + virtual uint32_t LoadRenderModel_Async( const char *, u_RenderModel_t_0912 ** ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_0912 * ) = 0; + virtual uint32_t LoadTexture_Async( int32_t, u_RenderModel_TextureMap_t_1237 ** ) = 0; + virtual void FreeTexture( u_RenderModel_TextureMap_t_1237 * ) = 0; virtual uint32_t LoadTextureD3D11_Async( int32_t, void *, void ** ) = 0; virtual uint32_t LoadIntoTextureD3D11_Async( int32_t, void * ) = 0; virtual void FreeTextureD3D11( void * ) = 0; @@ -27,7 +18,7 @@ struct cppIVRRenderModels_IVRRenderModels_006 virtual uint64_t GetComponentButtonMask( const char *, const char * ) = 0; virtual uint32_t GetComponentRenderModelName( const char *, const char *, char *, uint32_t ) = 0; virtual bool GetComponentStateForDevicePath( const char *, const char *, uint64_t, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; - virtual bool GetComponentState( const char *, const char *, const VRControllerState_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; + virtual bool GetComponentState( const char *, const char *, const u_VRControllerState001_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; virtual bool RenderModelHasComponent( const char *, const char * ) = 0; virtual uint32_t GetRenderModelThumbnailURL( const char *, char *, uint32_t, uint32_t * ) = 0; virtual uint32_t GetRenderModelOriginalPath( const char *, char *, uint32_t, uint32_t * ) = 0; @@ -37,127 +28,123 @@ struct cppIVRRenderModels_IVRRenderModels_006 void cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - RenderModel_t *lin_ppRenderModel; - params->_ret = iface->LoadRenderModel_Async( params->pchRenderModelName, params->ppRenderModel ? &lin_ppRenderModel : nullptr ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + u_RenderModel_t_0912 *u_ppRenderModel; + params->_ret = (uint32_t)iface->LoadRenderModel_Async( params->pchRenderModelName, params->ppRenderModel ? &u_ppRenderModel : nullptr ); if (params->_ret == 0) - *params->ppRenderModel = struct_RenderModel_t_1267_wrap( lin_ppRenderModel ); + *params->ppRenderModel = struct_RenderModel_t_0912_wrap( u_ppRenderModel ); } void cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - iface->FreeRenderModel( struct_RenderModel_t_1267_unwrap( params->pRenderModel ) ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + iface->FreeRenderModel( struct_RenderModel_t_0912_unwrap( params->pRenderModel ) ); } void cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - RenderModel_TextureMap_t *lin_ppTexture; - params->_ret = iface->LoadTexture_Async( params->textureId, params->ppTexture ? &lin_ppTexture : nullptr ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + u_RenderModel_TextureMap_t_1237 *u_ppTexture; + params->_ret = (uint32_t)iface->LoadTexture_Async( params->textureId, params->ppTexture ? &u_ppTexture : nullptr ); if (params->_ret == 0) - *params->ppTexture = struct_RenderModel_TextureMap_t_1267_wrap( lin_ppTexture ); + *params->ppTexture = struct_RenderModel_TextureMap_t_1237_wrap( u_ppTexture ); } void cppIVRRenderModels_IVRRenderModels_006_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_006_FreeTexture_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - iface->FreeTexture( struct_RenderModel_TextureMap_t_1267_unwrap( params->pTexture ) ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + iface->FreeTexture( struct_RenderModel_TextureMap_t_1237_unwrap( params->pTexture ) ); } void cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint32_t)iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D ); } void cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->LoadIntoTextureD3D11_Async( params->textureId, params->pDstTexture ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint32_t)iface->LoadIntoTextureD3D11_Async( params->textureId, params->pDstTexture ); } void cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11( struct cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; iface->FreeTextureD3D11( params->pD3D11Texture2D ); } void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); } void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetRenderModelCount( ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelCount( ); } void cppIVRRenderModels_IVRRenderModels_006_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentCount_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetComponentCount( params->pchRenderModelName ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentCount( params->pchRenderModelName ); } void cppIVRRenderModels_IVRRenderModels_006_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); } void cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint64_t)iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); } void cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); } void cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetComponentStateForDevicePath( params->pchRenderModelName, params->pchComponentName, params->devicePath, params->pState, params->pComponentState ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (bool)iface->GetComponentStateForDevicePath( params->pchRenderModelName, params->pchComponentName, params->devicePath, params->pState, params->pComponentState ); } void cppIVRRenderModels_IVRRenderModels_006_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentState_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_1267_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &lin_pControllerState : nullptr, params->pState, params->pComponentState ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pState, params->pComponentState ); } void cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (bool)iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); } void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetRenderModelThumbnailURL( params->pchRenderModelName, params->pchThumbnailURL, params->unThumbnailURLLen, params->peError ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelThumbnailURL( params->pchRenderModelName, params->pchThumbnailURL, params->unThumbnailURLLen, params->peError ); } void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetRenderModelOriginalPath( params->pchRenderModelName, params->pchOriginalPath, params->unOriginalPathLen, params->peError ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetRenderModelOriginalPath( params->pchRenderModelName, params->pchOriginalPath, params->unOriginalPathLen, params->peError ); } void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params *params ) { - struct cppIVRRenderModels_IVRRenderModels_006 *iface = (struct cppIVRRenderModels_IVRRenderModels_006 *)params->linux_side; - params->_ret = iface->GetRenderModelErrorNameFromEnum( params->error ); + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = (const char *)iface->GetRenderModelErrorNameFromEnum( params->error ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h index 2f9408c4..9a15edfc 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h @@ -1,20 +1,25 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRRenderModels_IVRRenderModels_006; +#endif /* __cplusplus */ + struct cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params { void *linux_side; uint32_t _ret; const char *pchRenderModelName; - winRenderModel_t_1267 **ppRenderModel; + w_RenderModel_t_0912 **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; + w_RenderModel_t_0912 *pRenderModel; }; extern void cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel_params *params ); @@ -23,14 +28,14 @@ struct cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params void *linux_side; uint32_t _ret; int32_t textureId; - winRenderModel_TextureMap_t_1267 **ppTexture; + w_RenderModel_TextureMap_t_1237 **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; + w_RenderModel_TextureMap_t_1237 *pTexture; }; extern void cppIVRRenderModels_IVRRenderModels_006_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_006_FreeTexture_params *params ); @@ -134,7 +139,7 @@ struct cppIVRRenderModels_IVRRenderModels_006_GetComponentState_params bool _ret; const char *pchRenderModelName; const char *pchComponentName; - const VRControllerState_t *pControllerState; + const w_VRControllerState001_t *pControllerState; const RenderModel_ControllerMode_State_t *pState; RenderModel_ComponentState_t *pComponentState; }; @@ -180,5 +185,5 @@ struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_pa extern void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp index 050cf000..08e7824f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRResources_IVRResources_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRResources_IVRResources_001 +struct u_IVRResources_IVRResources_001 { #ifdef __cplusplus virtual uint32_t LoadSharedResource( const char *, char *, uint32_t ) = 0; @@ -20,16 +11,13 @@ struct cppIVRResources_IVRResources_001 void cppIVRResources_IVRResources_001_LoadSharedResource( struct cppIVRResources_IVRResources_001_LoadSharedResource_params *params ) { - struct cppIVRResources_IVRResources_001 *iface = (struct cppIVRResources_IVRResources_001 *)params->linux_side; - params->_ret = iface->LoadSharedResource( params->pchResourceName, params->pchBuffer, params->unBufferLen ); + struct u_IVRResources_IVRResources_001 *iface = (struct u_IVRResources_IVRResources_001 *)params->linux_side; + params->_ret = (uint32_t)iface->LoadSharedResource( params->pchResourceName, params->pchBuffer, params->unBufferLen ); } void cppIVRResources_IVRResources_001_GetResourceFullPath( struct cppIVRResources_IVRResources_001_GetResourceFullPath_params *params ) { - struct cppIVRResources_IVRResources_001 *iface = (struct cppIVRResources_IVRResources_001 *)params->linux_side; - params->_ret = iface->GetResourceFullPath( params->pchResourceName, params->pchResourceTypeDirectory, params->pchPathBuffer, params->unBufferLen ); + struct u_IVRResources_IVRResources_001 *iface = (struct u_IVRResources_IVRResources_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetResourceFullPath( params->pchResourceName, params->pchResourceTypeDirectory, params->pchPathBuffer, params->unBufferLen ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h index 1ea63ce1..bbd8a880 100644 --- a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRResources_IVRResources_001; +#endif /* __cplusplus */ + struct cppIVRResources_IVRResources_001_LoadSharedResource_params { void *linux_side; @@ -24,5 +29,5 @@ struct cppIVRResources_IVRResources_001_GetResourceFullPath_params extern void cppIVRResources_IVRResources_001_GetResourceFullPath( struct cppIVRResources_IVRResources_001_GetResourceFullPath_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp index 7f95d4b5..2bb508fb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRScreenshots_IVRScreenshots_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRScreenshots_IVRScreenshots_001 +struct u_IVRScreenshots_IVRScreenshots_001 { #ifdef __cplusplus virtual uint32_t RequestScreenshot( uint32_t *, uint32_t, const char *, const char * ) = 0; @@ -25,46 +16,43 @@ struct cppIVRScreenshots_IVRScreenshots_001 void cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot_params *params ) { - struct cppIVRScreenshots_IVRScreenshots_001 *iface = (struct cppIVRScreenshots_IVRScreenshots_001 *)params->linux_side; - params->_ret = iface->RequestScreenshot( params->pOutScreenshotHandle, params->type, params->pchPreviewFilename, params->pchVRFilename ); + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = (uint32_t)iface->RequestScreenshot( params->pOutScreenshotHandle, params->type, params->pchPreviewFilename, params->pchVRFilename ); } void cppIVRScreenshots_IVRScreenshots_001_HookScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_HookScreenshot_params *params ) { - struct cppIVRScreenshots_IVRScreenshots_001 *iface = (struct cppIVRScreenshots_IVRScreenshots_001 *)params->linux_side; - params->_ret = iface->HookScreenshot( params->pSupportedTypes, params->numTypes ); + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = (uint32_t)iface->HookScreenshot( params->pSupportedTypes, params->numTypes ); } void cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType( struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType_params *params ) { - struct cppIVRScreenshots_IVRScreenshots_001 *iface = (struct cppIVRScreenshots_IVRScreenshots_001 *)params->linux_side; - params->_ret = iface->GetScreenshotPropertyType( params->screenshotHandle, params->pError ); + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetScreenshotPropertyType( params->screenshotHandle, params->pError ); } void cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename( struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename_params *params ) { - struct cppIVRScreenshots_IVRScreenshots_001 *iface = (struct cppIVRScreenshots_IVRScreenshots_001 *)params->linux_side; - params->_ret = iface->GetScreenshotPropertyFilename( params->screenshotHandle, params->filenameType, params->pchFilename, params->cchFilename, params->pError ); + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetScreenshotPropertyFilename( params->screenshotHandle, params->filenameType, params->pchFilename, params->cchFilename, params->pError ); } void cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress( struct cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress_params *params ) { - struct cppIVRScreenshots_IVRScreenshots_001 *iface = (struct cppIVRScreenshots_IVRScreenshots_001 *)params->linux_side; - params->_ret = iface->UpdateScreenshotProgress( params->screenshotHandle, params->flProgress ); + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = (uint32_t)iface->UpdateScreenshotProgress( params->screenshotHandle, params->flProgress ); } void cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot_params *params ) { - struct cppIVRScreenshots_IVRScreenshots_001 *iface = (struct cppIVRScreenshots_IVRScreenshots_001 *)params->linux_side; - params->_ret = iface->TakeStereoScreenshot( params->pOutScreenshotHandle, params->pchPreviewFilename, params->pchVRFilename ); + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = (uint32_t)iface->TakeStereoScreenshot( params->pOutScreenshotHandle, params->pchPreviewFilename, params->pchVRFilename ); } void cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params *params ) { - struct cppIVRScreenshots_IVRScreenshots_001 *iface = (struct cppIVRScreenshots_IVRScreenshots_001 *)params->linux_side; - params->_ret = iface->SubmitScreenshot( params->screenshotHandle, params->type, params->pchSourcePreviewFilename, params->pchSourceVRFilename ); + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = (uint32_t)iface->SubmitScreenshot( params->screenshotHandle, params->type, params->pchSourcePreviewFilename, params->pchSourceVRFilename ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h index 13340390..bc2846b2 100644 --- a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRScreenshots_IVRScreenshots_001; +#endif /* __cplusplus */ + struct cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot_params { void *linux_side; @@ -74,5 +79,5 @@ struct cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params extern void cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp index 9dce4be1..57a64d62 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSettings_IVRSettings_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSettings_IVRSettings_001 +struct u_IVRSettings_IVRSettings_001 { #ifdef __cplusplus virtual const char * GetSettingsErrorNameFromEnum( uint32_t ) = 0; @@ -30,76 +21,73 @@ struct cppIVRSettings_IVRSettings_001 void cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum( struct cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; - params->_ret = iface->GetSettingsErrorNameFromEnum( params->eError ); + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = (const char *)iface->GetSettingsErrorNameFromEnum( params->eError ); } void cppIVRSettings_IVRSettings_001_Sync( struct cppIVRSettings_IVRSettings_001_Sync_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; - params->_ret = iface->Sync( params->bForce, params->peError ); + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = (bool)iface->Sync( params->bForce, params->peError ); } void cppIVRSettings_IVRSettings_001_GetBool( struct cppIVRSettings_IVRSettings_001_GetBool_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; - params->_ret = iface->GetBool( params->pchSection, params->pchSettingsKey, params->bDefaultValue, params->peError ); + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = (bool)iface->GetBool( params->pchSection, params->pchSettingsKey, params->bDefaultValue, params->peError ); } void cppIVRSettings_IVRSettings_001_SetBool( struct cppIVRSettings_IVRSettings_001_SetBool_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; iface->SetBool( params->pchSection, params->pchSettingsKey, params->bValue, params->peError ); } void cppIVRSettings_IVRSettings_001_GetInt32( struct cppIVRSettings_IVRSettings_001_GetInt32_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; - params->_ret = iface->GetInt32( params->pchSection, params->pchSettingsKey, params->nDefaultValue, params->peError ); + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32( params->pchSection, params->pchSettingsKey, params->nDefaultValue, params->peError ); } void cppIVRSettings_IVRSettings_001_SetInt32( struct cppIVRSettings_IVRSettings_001_SetInt32_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; iface->SetInt32( params->pchSection, params->pchSettingsKey, params->nValue, params->peError ); } void cppIVRSettings_IVRSettings_001_GetFloat( struct cppIVRSettings_IVRSettings_001_GetFloat_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; - params->_ret = iface->GetFloat( params->pchSection, params->pchSettingsKey, params->flDefaultValue, params->peError ); + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = (float)iface->GetFloat( params->pchSection, params->pchSettingsKey, params->flDefaultValue, params->peError ); } void cppIVRSettings_IVRSettings_001_SetFloat( struct cppIVRSettings_IVRSettings_001_SetFloat_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; iface->SetFloat( params->pchSection, params->pchSettingsKey, params->flValue, params->peError ); } void cppIVRSettings_IVRSettings_001_GetString( struct cppIVRSettings_IVRSettings_001_GetString_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; iface->GetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->unValueLen, params->pchDefaultValue, params->peError ); } void cppIVRSettings_IVRSettings_001_SetString( struct cppIVRSettings_IVRSettings_001_SetString_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; iface->SetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->peError ); } void cppIVRSettings_IVRSettings_001_RemoveSection( struct cppIVRSettings_IVRSettings_001_RemoveSection_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; iface->RemoveSection( params->pchSection, params->peError ); } void cppIVRSettings_IVRSettings_001_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_001_RemoveKeyInSection_params *params ) { - struct cppIVRSettings_IVRSettings_001 *iface = (struct cppIVRSettings_IVRSettings_001 *)params->linux_side; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; iface->RemoveKeyInSection( params->pchSection, params->pchSettingsKey, params->peError ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h index 2f04d1b9..51ef1aa1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSettings_IVRSettings_001; +#endif /* __cplusplus */ + struct cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params { void *linux_side; @@ -122,5 +127,5 @@ struct cppIVRSettings_IVRSettings_001_RemoveKeyInSection_params extern void cppIVRSettings_IVRSettings_001_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_001_RemoveKeyInSection_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp index 2b72835a..6396b277 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.8.19/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSettings_IVRSettings_002.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSettings_IVRSettings_002 +struct u_IVRSettings_IVRSettings_002 { #ifdef __cplusplus virtual const char * GetSettingsErrorNameFromEnum( uint32_t ) = 0; @@ -30,76 +21,73 @@ struct cppIVRSettings_IVRSettings_002 void cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum( struct cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; - params->_ret = iface->GetSettingsErrorNameFromEnum( params->eError ); + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = (const char *)iface->GetSettingsErrorNameFromEnum( params->eError ); } void cppIVRSettings_IVRSettings_002_Sync( struct cppIVRSettings_IVRSettings_002_Sync_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; - params->_ret = iface->Sync( params->bForce, params->peError ); + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = (bool)iface->Sync( params->bForce, params->peError ); } void cppIVRSettings_IVRSettings_002_SetBool( struct cppIVRSettings_IVRSettings_002_SetBool_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; iface->SetBool( params->pchSection, params->pchSettingsKey, params->bValue, params->peError ); } void cppIVRSettings_IVRSettings_002_SetInt32( struct cppIVRSettings_IVRSettings_002_SetInt32_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; iface->SetInt32( params->pchSection, params->pchSettingsKey, params->nValue, params->peError ); } void cppIVRSettings_IVRSettings_002_SetFloat( struct cppIVRSettings_IVRSettings_002_SetFloat_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; iface->SetFloat( params->pchSection, params->pchSettingsKey, params->flValue, params->peError ); } void cppIVRSettings_IVRSettings_002_SetString( struct cppIVRSettings_IVRSettings_002_SetString_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; iface->SetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->peError ); } void cppIVRSettings_IVRSettings_002_GetBool( struct cppIVRSettings_IVRSettings_002_GetBool_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; - params->_ret = iface->GetBool( params->pchSection, params->pchSettingsKey, params->peError ); + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = (bool)iface->GetBool( params->pchSection, params->pchSettingsKey, params->peError ); } void cppIVRSettings_IVRSettings_002_GetInt32( struct cppIVRSettings_IVRSettings_002_GetInt32_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; - params->_ret = iface->GetInt32( params->pchSection, params->pchSettingsKey, params->peError ); + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32( params->pchSection, params->pchSettingsKey, params->peError ); } void cppIVRSettings_IVRSettings_002_GetFloat( struct cppIVRSettings_IVRSettings_002_GetFloat_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; - params->_ret = iface->GetFloat( params->pchSection, params->pchSettingsKey, params->peError ); + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = (float)iface->GetFloat( params->pchSection, params->pchSettingsKey, params->peError ); } void cppIVRSettings_IVRSettings_002_GetString( struct cppIVRSettings_IVRSettings_002_GetString_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; iface->GetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->unValueLen, params->peError ); } void cppIVRSettings_IVRSettings_002_RemoveSection( struct cppIVRSettings_IVRSettings_002_RemoveSection_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; iface->RemoveSection( params->pchSection, params->peError ); } void cppIVRSettings_IVRSettings_002_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_002_RemoveKeyInSection_params *params ) { - struct cppIVRSettings_IVRSettings_002 *iface = (struct cppIVRSettings_IVRSettings_002 *)params->linux_side; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; iface->RemoveKeyInSection( params->pchSection, params->pchSettingsKey, params->peError ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h index b0b726e9..8a9728d0 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSettings_IVRSettings_002; +#endif /* __cplusplus */ + struct cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params { void *linux_side; @@ -118,5 +123,5 @@ struct cppIVRSettings_IVRSettings_002_RemoveKeyInSection_params extern void cppIVRSettings_IVRSettings_002_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_002_RemoveKeyInSection_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp index 430b1505..e52a20da 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSettings_IVRSettings_003.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSettings_IVRSettings_003 +struct u_IVRSettings_IVRSettings_003 { #ifdef __cplusplus virtual const char * GetSettingsErrorNameFromEnum( uint32_t ) = 0; @@ -29,70 +20,67 @@ struct cppIVRSettings_IVRSettings_003 void cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum( struct cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; - params->_ret = iface->GetSettingsErrorNameFromEnum( params->eError ); + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + params->_ret = (const char *)iface->GetSettingsErrorNameFromEnum( params->eError ); } void cppIVRSettings_IVRSettings_003_SetBool( struct cppIVRSettings_IVRSettings_003_SetBool_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; iface->SetBool( params->pchSection, params->pchSettingsKey, params->bValue, params->peError ); } void cppIVRSettings_IVRSettings_003_SetInt32( struct cppIVRSettings_IVRSettings_003_SetInt32_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; iface->SetInt32( params->pchSection, params->pchSettingsKey, params->nValue, params->peError ); } void cppIVRSettings_IVRSettings_003_SetFloat( struct cppIVRSettings_IVRSettings_003_SetFloat_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; iface->SetFloat( params->pchSection, params->pchSettingsKey, params->flValue, params->peError ); } void cppIVRSettings_IVRSettings_003_SetString( struct cppIVRSettings_IVRSettings_003_SetString_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; iface->SetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->peError ); } void cppIVRSettings_IVRSettings_003_GetBool( struct cppIVRSettings_IVRSettings_003_GetBool_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; - params->_ret = iface->GetBool( params->pchSection, params->pchSettingsKey, params->peError ); + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + params->_ret = (bool)iface->GetBool( params->pchSection, params->pchSettingsKey, params->peError ); } void cppIVRSettings_IVRSettings_003_GetInt32( struct cppIVRSettings_IVRSettings_003_GetInt32_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; - params->_ret = iface->GetInt32( params->pchSection, params->pchSettingsKey, params->peError ); + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32( params->pchSection, params->pchSettingsKey, params->peError ); } void cppIVRSettings_IVRSettings_003_GetFloat( struct cppIVRSettings_IVRSettings_003_GetFloat_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; - params->_ret = iface->GetFloat( params->pchSection, params->pchSettingsKey, params->peError ); + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + params->_ret = (float)iface->GetFloat( params->pchSection, params->pchSettingsKey, params->peError ); } void cppIVRSettings_IVRSettings_003_GetString( struct cppIVRSettings_IVRSettings_003_GetString_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; iface->GetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->unValueLen, params->peError ); } void cppIVRSettings_IVRSettings_003_RemoveSection( struct cppIVRSettings_IVRSettings_003_RemoveSection_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; iface->RemoveSection( params->pchSection, params->peError ); } void cppIVRSettings_IVRSettings_003_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_003_RemoveKeyInSection_params *params ) { - struct cppIVRSettings_IVRSettings_003 *iface = (struct cppIVRSettings_IVRSettings_003 *)params->linux_side; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; iface->RemoveKeyInSection( params->pchSection, params->pchSettingsKey, params->peError ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h index b5e2dcc6..d4c58062 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSettings_IVRSettings_003; +#endif /* __cplusplus */ + struct cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params { void *linux_side; @@ -109,5 +114,5 @@ struct cppIVRSettings_IVRSettings_003_RemoveKeyInSection_params extern void cppIVRSettings_IVRSettings_003_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_003_RemoveKeyInSection_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp index bf795805..e1f17b07 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_003.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_003 +struct u_IVRSystem_IVRSystem_003 { #ifdef __cplusplus virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; @@ -27,8 +18,8 @@ struct cppIVRSystem_IVRSystem_003 virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; virtual void ResetSeatedZeroPose( ) = 0; virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; - virtual bool LoadRenderModel( const char *, RenderModel_t * ) = 0; - virtual void FreeRenderModel( RenderModel_t * ) = 0; + virtual bool LoadRenderModel( const char *, u_RenderModel_t_090 * ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_090 * ) = 0; virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; virtual bool IsTrackedDeviceConnected( uint32_t ) = 0; virtual bool GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; @@ -38,12 +29,12 @@ struct cppIVRSystem_IVRSystem_003 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t * ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_090 * ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_090 *, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t * ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -56,252 +47,241 @@ struct cppIVRSystem_IVRSystem_003 void cppIVRSystem_IVRSystem_003_GetWindowBounds( struct cppIVRSystem_IVRSystem_003_GetWindowBounds_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_003_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_003_GetEyeOutputViewport_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_003_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_003_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); } void cppIVRSystem_IVRSystem_003_GetProjectionRaw( struct cppIVRSystem_IVRSystem_003_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_003_ComputeDistortion( struct cppIVRSystem_IVRSystem_003_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); } void cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); } void cppIVRSystem_IVRSystem_003_AttachToWindow( struct cppIVRSystem_IVRSystem_003_AttachToWindow_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->AttachToWindow( params->hWnd ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (bool)iface->AttachToWindow( params->hWnd ); } void cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_003_LoadRenderModel( struct cppIVRSystem_IVRSystem_003_LoadRenderModel_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->LoadRenderModel( params->pchRenderModelName, struct_RenderModel_t_091_unwrap( params->pRenderModel ) ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (bool)iface->LoadRenderModel( params->pchRenderModelName, struct_RenderModel_t_090_unwrap( params->pRenderModel ) ); } void cppIVRSystem_IVRSystem_003_FreeRenderModel( struct cppIVRSystem_IVRSystem_003_FreeRenderModel_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - iface->FreeRenderModel( struct_RenderModel_t_091_unwrap( params->pRenderModel ) ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->FreeRenderModel( struct_RenderModel_t_090_unwrap( params->pRenderModel ) ); } void cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_003_PollNextEvent( struct cppIVRSystem_IVRSystem_003_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_091_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_091_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_VREvent_t_090 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_003_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_003_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_091_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_091_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_VREvent_t_090 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); } void cppIVRSystem_IVRSystem_003_GetControllerState( struct cppIVRSystem_IVRSystem_003_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_091_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr ); - if (params->pControllerState) - struct_VRControllerState001_t_091_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_003_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_003_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_091_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_091_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_003_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_003_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse( struct cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->overlaySettings, params->vecWindowClientPositionOnScreen, params->vecWindowClientSize, params->unControllerDeviceIndex, params->eOutputType ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (bool)iface->HandleControllerOverlayInteractionAsMouse( params->overlaySettings, params->vecWindowClientPositionOnScreen, params->vecWindowClientSize, params->unControllerDeviceIndex, params->eOutputType ); } void cppIVRSystem_IVRSystem_003_CaptureInputFocus( struct cppIVRSystem_IVRSystem_003_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_003_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_003_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_003 *iface = (struct cppIVRSystem_IVRSystem_003 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h index fe5de260..5b52c439 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_003; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_003_GetWindowBounds_params { void *linux_side; @@ -131,14 +136,14 @@ struct cppIVRSystem_IVRSystem_003_LoadRenderModel_params void *linux_side; bool _ret; const char *pchRenderModelName; - winRenderModel_t_091 *pRenderModel; + w_RenderModel_t_090 *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; + w_RenderModel_t_090 *pRenderModel; }; extern void cppIVRSystem_IVRSystem_003_FreeRenderModel( struct cppIVRSystem_IVRSystem_003_FreeRenderModel_params *params ); @@ -232,7 +237,7 @@ struct cppIVRSystem_IVRSystem_003_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_091 *pEvent; + w_VREvent_t_090 *pEvent; }; extern void cppIVRSystem_IVRSystem_003_PollNextEvent( struct cppIVRSystem_IVRSystem_003_PollNextEvent_params *params ); @@ -241,7 +246,7 @@ struct cppIVRSystem_IVRSystem_003_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_091 *pEvent; + w_VREvent_t_090 *pEvent; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_003_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_003_PollNextEventWithPose_params *params ); @@ -257,7 +262,7 @@ extern void cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; }; extern void cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh_params *params ); @@ -267,7 +272,7 @@ struct cppIVRSystem_IVRSystem_003_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_091 *pControllerState; + w_VRControllerState001_t *pControllerState; }; extern void cppIVRSystem_IVRSystem_003_GetControllerState( struct cppIVRSystem_IVRSystem_003_GetControllerState_params *params ); @@ -277,7 +282,7 @@ struct cppIVRSystem_IVRSystem_003_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_091 *pControllerState; + w_VRControllerState001_t *pControllerState; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_003_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_003_GetControllerStateWithPose_params *params ); @@ -340,5 +345,5 @@ struct cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params extern void cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp index be008e66..70540748 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_004.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_004 +struct u_IVRSystem_IVRSystem_004 { #ifdef __cplusplus virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; @@ -36,12 +27,12 @@ struct cppIVRSystem_IVRSystem_004 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t * ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_092 * ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_092 *, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t * ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -54,240 +45,229 @@ struct cppIVRSystem_IVRSystem_004 void cppIVRSystem_IVRSystem_004_GetWindowBounds( struct cppIVRSystem_IVRSystem_004_GetWindowBounds_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_004_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_004_GetEyeOutputViewport_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_004_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_004_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); } void cppIVRSystem_IVRSystem_004_GetProjectionRaw( struct cppIVRSystem_IVRSystem_004_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_004_ComputeDistortion( struct cppIVRSystem_IVRSystem_004_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); } void cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); } void cppIVRSystem_IVRSystem_004_AttachToWindow( struct cppIVRSystem_IVRSystem_004_AttachToWindow_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->AttachToWindow( params->hWnd ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (bool)iface->AttachToWindow( params->hWnd ); } void cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_004_PollNextEvent( struct cppIVRSystem_IVRSystem_004_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_092_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_092_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + u_VREvent_t_092 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_004_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_004_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_092_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_092_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + u_VREvent_t_092 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); } void cppIVRSystem_IVRSystem_004_GetControllerState( struct cppIVRSystem_IVRSystem_004_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_092_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr ); - if (params->pControllerState) - struct_VRControllerState001_t_092_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_004_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_004_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_092_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_092_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_004_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_004_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_004_CaptureInputFocus( struct cppIVRSystem_IVRSystem_004_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_004_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_004_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_004_DriverDebugRequest( struct cppIVRSystem_IVRSystem_004_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_004 *iface = (struct cppIVRSystem_IVRSystem_004 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h index cef1e108..0596ddc7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_004; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_004_GetWindowBounds_params { void *linux_side; @@ -216,7 +221,7 @@ struct cppIVRSystem_IVRSystem_004_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_092 *pEvent; + w_VREvent_t_092 *pEvent; }; extern void cppIVRSystem_IVRSystem_004_PollNextEvent( struct cppIVRSystem_IVRSystem_004_PollNextEvent_params *params ); @@ -225,7 +230,7 @@ struct cppIVRSystem_IVRSystem_004_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_092 *pEvent; + w_VREvent_t_092 *pEvent; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_004_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_004_PollNextEventWithPose_params *params ); @@ -241,7 +246,7 @@ extern void cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; }; extern void cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh_params *params ); @@ -251,7 +256,7 @@ struct cppIVRSystem_IVRSystem_004_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_092 *pControllerState; + w_VRControllerState001_t *pControllerState; }; extern void cppIVRSystem_IVRSystem_004_GetControllerState( struct cppIVRSystem_IVRSystem_004_GetControllerState_params *params ); @@ -261,7 +266,7 @@ struct cppIVRSystem_IVRSystem_004_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_092 *pControllerState; + w_VRControllerState001_t *pControllerState; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_004_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_004_GetControllerStateWithPose_params *params ); @@ -323,5 +328,5 @@ struct cppIVRSystem_IVRSystem_004_DriverDebugRequest_params extern void cppIVRSystem_IVRSystem_004_DriverDebugRequest( struct cppIVRSystem_IVRSystem_004_DriverDebugRequest_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp index b0506e5e..cb6b8881 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_005.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_005 +struct u_IVRSystem_IVRSystem_005 { #ifdef __cplusplus virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; @@ -37,12 +28,12 @@ struct cppIVRSystem_IVRSystem_005 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t * ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_097 * ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_097 *, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t * ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -55,246 +46,235 @@ struct cppIVRSystem_IVRSystem_005 void cppIVRSystem_IVRSystem_005_GetWindowBounds( struct cppIVRSystem_IVRSystem_005_GetWindowBounds_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_005_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_005_GetEyeOutputViewport_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_005_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_005_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); } void cppIVRSystem_IVRSystem_005_GetProjectionRaw( struct cppIVRSystem_IVRSystem_005_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_005_ComputeDistortion( struct cppIVRSystem_IVRSystem_005_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); } void cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); } void cppIVRSystem_IVRSystem_005_AttachToWindow( struct cppIVRSystem_IVRSystem_005_AttachToWindow_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->AttachToWindow( params->hWnd ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (bool)iface->AttachToWindow( params->hWnd ); } void cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_005_PollNextEvent( struct cppIVRSystem_IVRSystem_005_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_098_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_098_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + u_VREvent_t_097 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_005_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_005_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_098_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_098_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + u_VREvent_t_097 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); } void cppIVRSystem_IVRSystem_005_GetControllerState( struct cppIVRSystem_IVRSystem_005_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_098_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr ); - if (params->pControllerState) - struct_VRControllerState001_t_098_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_005_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_005_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_098_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_098_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_005_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_005_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_005_CaptureInputFocus( struct cppIVRSystem_IVRSystem_005_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_005_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_005_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_005_DriverDebugRequest( struct cppIVRSystem_IVRSystem_005_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_005 *iface = (struct cppIVRSystem_IVRSystem_005 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h index 6abb852e..391b4912 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_005; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_005_GetWindowBounds_params { void *linux_side; @@ -227,7 +232,7 @@ struct cppIVRSystem_IVRSystem_005_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_098 *pEvent; + w_VREvent_t_097 *pEvent; }; extern void cppIVRSystem_IVRSystem_005_PollNextEvent( struct cppIVRSystem_IVRSystem_005_PollNextEvent_params *params ); @@ -236,7 +241,7 @@ struct cppIVRSystem_IVRSystem_005_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_098 *pEvent; + w_VREvent_t_097 *pEvent; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_005_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_005_PollNextEventWithPose_params *params ); @@ -252,7 +257,7 @@ extern void cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; }; extern void cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh_params *params ); @@ -262,7 +267,7 @@ struct cppIVRSystem_IVRSystem_005_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_098 *pControllerState; + w_VRControllerState001_t *pControllerState; }; extern void cppIVRSystem_IVRSystem_005_GetControllerState( struct cppIVRSystem_IVRSystem_005_GetControllerState_params *params ); @@ -272,7 +277,7 @@ struct cppIVRSystem_IVRSystem_005_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_098 *pControllerState; + w_VRControllerState001_t *pControllerState; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_005_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_005_GetControllerStateWithPose_params *params ); @@ -334,5 +339,5 @@ struct cppIVRSystem_IVRSystem_005_DriverDebugRequest_params extern void cppIVRSystem_IVRSystem_005_DriverDebugRequest( struct cppIVRSystem_IVRSystem_005_DriverDebugRequest_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp index 296cd534..b5423197 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_006.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_006 +struct u_IVRSystem_IVRSystem_006 { #ifdef __cplusplus virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; @@ -39,12 +30,12 @@ struct cppIVRSystem_IVRSystem_006 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t * ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_0910 * ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_0910 *, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t * ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -60,276 +51,265 @@ struct cppIVRSystem_IVRSystem_006 void cppIVRSystem_IVRSystem_006_GetWindowBounds( struct cppIVRSystem_IVRSystem_006_GetWindowBounds_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_006_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_006_GetEyeOutputViewport_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_006_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_006_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); } void cppIVRSystem_IVRSystem_006_GetProjectionRaw( struct cppIVRSystem_IVRSystem_006_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_006_ComputeDistortion( struct cppIVRSystem_IVRSystem_006_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); } void cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); } void cppIVRSystem_IVRSystem_006_AttachToWindow( struct cppIVRSystem_IVRSystem_006_AttachToWindow_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->AttachToWindow( params->hWnd ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (bool)iface->AttachToWindow( params->hWnd ); } void cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_006_PollNextEvent( struct cppIVRSystem_IVRSystem_006_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_0910_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_0910_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + u_VREvent_t_0910 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_006_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_006_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_0910_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_0910_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + u_VREvent_t_0910 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); } void cppIVRSystem_IVRSystem_006_GetControllerState( struct cppIVRSystem_IVRSystem_006_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0910_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr ); - if (params->pControllerState) - struct_VRControllerState001_t_0910_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_006_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_006_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0910_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_0910_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_006_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_006_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_006_CaptureInputFocus( struct cppIVRSystem_IVRSystem_006_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_006_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_006_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_006_DriverDebugRequest( struct cppIVRSystem_IVRSystem_006_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_006_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_006_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_006 *iface = (struct cppIVRSystem_IVRSystem_006 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h index 7f013794..760fc70e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_006; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_006_GetWindowBounds_params { void *linux_side; @@ -242,7 +247,7 @@ struct cppIVRSystem_IVRSystem_006_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_0910 *pEvent; + w_VREvent_t_0910 *pEvent; }; extern void cppIVRSystem_IVRSystem_006_PollNextEvent( struct cppIVRSystem_IVRSystem_006_PollNextEvent_params *params ); @@ -251,7 +256,7 @@ struct cppIVRSystem_IVRSystem_006_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_0910 *pEvent; + w_VREvent_t_0910 *pEvent; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_006_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_006_PollNextEventWithPose_params *params ); @@ -267,7 +272,7 @@ extern void cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; }; extern void cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh_params *params ); @@ -277,7 +282,7 @@ struct cppIVRSystem_IVRSystem_006_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_0910 *pControllerState; + w_VRControllerState001_t *pControllerState; }; extern void cppIVRSystem_IVRSystem_006_GetControllerState( struct cppIVRSystem_IVRSystem_006_GetControllerState_params *params ); @@ -287,7 +292,7 @@ struct cppIVRSystem_IVRSystem_006_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_0910 *pControllerState; + w_VRControllerState001_t *pControllerState; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_006_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_006_GetControllerStateWithPose_params *params ); @@ -372,5 +377,5 @@ struct cppIVRSystem_IVRSystem_006_SetDisplayVisibility_params extern void cppIVRSystem_IVRSystem_006_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_006_SetDisplayVisibility_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp index 4ac471a9..fdc912a3 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.12/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_009.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_009 +struct u_IVRSystem_IVRSystem_009 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -39,12 +30,12 @@ struct cppIVRSystem_IVRSystem_009 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t * ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_0912 * ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_0912 *, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t * ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -60,276 +51,265 @@ struct cppIVRSystem_IVRSystem_009 void cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_009_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_009_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); } void cppIVRSystem_IVRSystem_009_GetProjectionRaw( struct cppIVRSystem_IVRSystem_009_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_009_ComputeDistortion( struct cppIVRSystem_IVRSystem_009_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); } void cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_009_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_009_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_009_ApplyTransform( struct cppIVRSystem_IVRSystem_009_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_009_PollNextEvent( struct cppIVRSystem_IVRSystem_009_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_0912_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_0912_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + u_VREvent_t_0912 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_009_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_009_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_0912_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_0912_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + u_VREvent_t_0912 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); } void cppIVRSystem_IVRSystem_009_GetControllerState( struct cppIVRSystem_IVRSystem_009_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0912_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr ); - if (params->pControllerState) - struct_VRControllerState001_t_0912_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_009_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_009_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0912_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_0912_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_009_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_009_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_009_CaptureInputFocus( struct cppIVRSystem_IVRSystem_009_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_009_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_009_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_009_DriverDebugRequest( struct cppIVRSystem_IVRSystem_009_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_009 *iface = (struct cppIVRSystem_IVRSystem_009 *)params->linux_side; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h index 46ad04e2..10df7cb4 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_009; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -236,7 +241,7 @@ struct cppIVRSystem_IVRSystem_009_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_0912 *pEvent; + w_VREvent_t_0912 *pEvent; }; extern void cppIVRSystem_IVRSystem_009_PollNextEvent( struct cppIVRSystem_IVRSystem_009_PollNextEvent_params *params ); @@ -245,7 +250,7 @@ struct cppIVRSystem_IVRSystem_009_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_0912 *pEvent; + w_VREvent_t_0912 *pEvent; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_009_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_009_PollNextEventWithPose_params *params ); @@ -261,7 +266,7 @@ extern void cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; }; extern void cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh_params *params ); @@ -271,7 +276,7 @@ struct cppIVRSystem_IVRSystem_009_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_0912 *pControllerState; + w_VRControllerState001_t *pControllerState; }; extern void cppIVRSystem_IVRSystem_009_GetControllerState( struct cppIVRSystem_IVRSystem_009_GetControllerState_params *params ); @@ -281,7 +286,7 @@ struct cppIVRSystem_IVRSystem_009_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_0912 *pControllerState; + w_VRControllerState001_t *pControllerState; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_009_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_009_GetControllerStateWithPose_params *params ); @@ -363,5 +368,5 @@ struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params extern void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp index bbf7e670..bcf05679 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_010.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_010 +struct u_IVRSystem_IVRSystem_010 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -41,12 +32,12 @@ struct cppIVRSystem_IVRSystem_010 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t * ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_0914 * ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_0914 *, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t * ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -64,300 +55,289 @@ struct cppIVRSystem_IVRSystem_010 void cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_010_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_010_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); } void cppIVRSystem_IVRSystem_010_GetProjectionRaw( struct cppIVRSystem_IVRSystem_010_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_010_ComputeDistortion( struct cppIVRSystem_IVRSystem_010_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); } void cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_010_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_010_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_010_ApplyTransform( struct cppIVRSystem_IVRSystem_010_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_010_PollNextEvent( struct cppIVRSystem_IVRSystem_010_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_0914_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr ); - if (params->pEvent) - struct_VREvent_t_0914_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + u_VREvent_t_0914 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_010_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_010_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - VREvent_t lin_pEvent; - if (params->pEvent) - struct_VREvent_t_0914_win_to_lin( params->pEvent, &lin_pEvent ); - params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_0914_lin_to_win( &lin_pEvent, params->pEvent, -1 ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + u_VREvent_t_0914 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); } void cppIVRSystem_IVRSystem_010_GetControllerState( struct cppIVRSystem_IVRSystem_010_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0914_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr ); - if (params->pControllerState) - struct_VRControllerState001_t_0914_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_010_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_010_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0914_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_0914_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_010_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_010_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_010_CaptureInputFocus( struct cppIVRSystem_IVRSystem_010_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_010_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_010_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_010_DriverDebugRequest( struct cppIVRSystem_IVRSystem_010_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } void cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture( struct cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->PerformanceTestEnableCapture( params->bEnable ); } void cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params *params ) { - struct cppIVRSystem_IVRSystem_010 *iface = (struct cppIVRSystem_IVRSystem_010 *)params->linux_side; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; iface->PerformanceTestReportFidelityLevelChange( params->nFidelityLevel ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h index 7fc5a013..b6835302 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_010; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -252,7 +257,7 @@ struct cppIVRSystem_IVRSystem_010_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_0914 *pEvent; + w_VREvent_t_0914 *pEvent; }; extern void cppIVRSystem_IVRSystem_010_PollNextEvent( struct cppIVRSystem_IVRSystem_010_PollNextEvent_params *params ); @@ -261,7 +266,7 @@ struct cppIVRSystem_IVRSystem_010_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_0914 *pEvent; + w_VREvent_t_0914 *pEvent; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_010_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_010_PollNextEventWithPose_params *params ); @@ -277,7 +282,7 @@ extern void cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; }; extern void cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh_params *params ); @@ -287,7 +292,7 @@ struct cppIVRSystem_IVRSystem_010_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_0914 *pControllerState; + w_VRControllerState001_t *pControllerState; }; extern void cppIVRSystem_IVRSystem_010_GetControllerState( struct cppIVRSystem_IVRSystem_010_GetControllerState_params *params ); @@ -297,7 +302,7 @@ struct cppIVRSystem_IVRSystem_010_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_0914 *pControllerState; + w_VRControllerState001_t *pControllerState; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_010_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_010_GetControllerStateWithPose_params *params ); @@ -393,5 +398,5 @@ struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_param extern void cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp index 4f4cb48c..c80c24c1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_011.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_011 +struct u_IVRSystem_IVRSystem_011 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -41,12 +32,12 @@ struct cppIVRSystem_IVRSystem_011 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_0918 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_0918 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t * ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -64,302 +55,291 @@ struct cppIVRSystem_IVRSystem_011 void cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_011_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_011_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); } void cppIVRSystem_IVRSystem_011_GetProjectionRaw( struct cppIVRSystem_IVRSystem_011_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_011_ComputeDistortion( struct cppIVRSystem_IVRSystem_011_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); } void cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_011_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_011_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_011_ApplyTransform( struct cppIVRSystem_IVRSystem_011_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_011_PollNextEvent( struct cppIVRSystem_IVRSystem_011_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_0918_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + u_VREvent_t_0918 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_011_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_011_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_0918_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + u_VREvent_t_0918 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); } void cppIVRSystem_IVRSystem_011_GetControllerState( struct cppIVRSystem_IVRSystem_011_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0918_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr ); - if (params->pControllerState) - struct_VRControllerState001_t_0918_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_011_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_011_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_0918_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_0918_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_011_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_011_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_011_CaptureInputFocus( struct cppIVRSystem_IVRSystem_011_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_011_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_011_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_011_DriverDebugRequest( struct cppIVRSystem_IVRSystem_011_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } void cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture( struct cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->PerformanceTestEnableCapture( params->bEnable ); } void cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params *params ) { - struct cppIVRSystem_IVRSystem_011 *iface = (struct cppIVRSystem_IVRSystem_011 *)params->linux_side; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; iface->PerformanceTestReportFidelityLevelChange( params->nFidelityLevel ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h index 5c588629..5475074c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_011; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -252,7 +257,7 @@ struct cppIVRSystem_IVRSystem_011_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_0918 *pEvent; + w_VREvent_t_0918 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_011_PollNextEvent( struct cppIVRSystem_IVRSystem_011_PollNextEvent_params *params ); @@ -262,7 +267,7 @@ struct cppIVRSystem_IVRSystem_011_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_0918 *pEvent; + w_VREvent_t_0918 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -279,7 +284,7 @@ extern void cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; }; extern void cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh_params *params ); @@ -289,7 +294,7 @@ struct cppIVRSystem_IVRSystem_011_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_0918 *pControllerState; + w_VRControllerState001_t *pControllerState; }; extern void cppIVRSystem_IVRSystem_011_GetControllerState( struct cppIVRSystem_IVRSystem_011_GetControllerState_params *params ); @@ -299,7 +304,7 @@ struct cppIVRSystem_IVRSystem_011_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_0918 *pControllerState; + w_VRControllerState001_t *pControllerState; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_011_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_011_GetControllerStateWithPose_params *params ); @@ -395,5 +400,5 @@ struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_param extern void cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp index e69af3bc..77add781 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_012.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_012 +struct u_IVRSystem_IVRSystem_012 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -41,12 +32,12 @@ struct cppIVRSystem_IVRSystem_012 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_103 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_103 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t * ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -62,290 +53,279 @@ struct cppIVRSystem_IVRSystem_012 void cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_012_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_012_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); } void cppIVRSystem_IVRSystem_012_GetProjectionRaw( struct cppIVRSystem_IVRSystem_012_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_012_ComputeDistortion( struct cppIVRSystem_IVRSystem_012_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); } void cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_012_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_012_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_012_ApplyTransform( struct cppIVRSystem_IVRSystem_012_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_012_PollNextEvent( struct cppIVRSystem_IVRSystem_012_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_103_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_012_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_012_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_103_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); } void cppIVRSystem_IVRSystem_012_GetControllerState( struct cppIVRSystem_IVRSystem_012_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_103_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr ); - if (params->pControllerState) - struct_VRControllerState001_t_103_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_012_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_012_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - VRControllerState_t lin_pControllerState; - if (params->pControllerState) - struct_VRControllerState001_t_103_win_to_lin( params->pControllerState, &lin_pControllerState ); - params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_103_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_012_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_012_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_012_CaptureInputFocus( struct cppIVRSystem_IVRSystem_012_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_012_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_012_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_012_DriverDebugRequest( struct cppIVRSystem_IVRSystem_012_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_012 *iface = (struct cppIVRSystem_IVRSystem_012 *)params->linux_side; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h index f2e988a1..431f480a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_012; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -252,7 +257,7 @@ struct cppIVRSystem_IVRSystem_012_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_103 *pEvent; + w_VREvent_t_103 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_012_PollNextEvent( struct cppIVRSystem_IVRSystem_012_PollNextEvent_params *params ); @@ -262,7 +267,7 @@ struct cppIVRSystem_IVRSystem_012_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_103 *pEvent; + w_VREvent_t_103 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -279,7 +284,7 @@ extern void cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; }; extern void cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh_params *params ); @@ -289,7 +294,7 @@ struct cppIVRSystem_IVRSystem_012_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_103 *pControllerState; + w_VRControllerState001_t *pControllerState; }; extern void cppIVRSystem_IVRSystem_012_GetControllerState( struct cppIVRSystem_IVRSystem_012_GetControllerState_params *params ); @@ -299,7 +304,7 @@ struct cppIVRSystem_IVRSystem_012_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_103 *pControllerState; + w_VRControllerState001_t *pControllerState; TrackedDevicePose_t *pTrackedDevicePose; }; extern void cppIVRSystem_IVRSystem_012_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_012_GetControllerStateWithPose_params *params ); @@ -381,5 +386,5 @@ struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params extern void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp index 547b2336..7a46f23a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.4/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_014.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_014 +struct u_IVRSystem_IVRSystem_014 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -41,12 +32,12 @@ struct cppIVRSystem_IVRSystem_014 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_103 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_103 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t *, uint32_t ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -62,292 +53,281 @@ struct cppIVRSystem_IVRSystem_014 void cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_014_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_014_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); } void cppIVRSystem_IVRSystem_014_GetProjectionRaw( struct cppIVRSystem_IVRSystem_014_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_014_ComputeDistortion( struct cppIVRSystem_IVRSystem_014_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (bool)iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); } void cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_014_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_014_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_014_ApplyTransform( struct cppIVRSystem_IVRSystem_014_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_014_PollNextEvent( struct cppIVRSystem_IVRSystem_014_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_104_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_014_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_014_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_104_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); } void cppIVRSystem_IVRSystem_014_GetControllerState( struct cppIVRSystem_IVRSystem_014_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerState( 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 ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_014_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_014_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_104_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_014_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_014_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_014_CaptureInputFocus( struct cppIVRSystem_IVRSystem_014_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_014_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_014_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_014_DriverDebugRequest( struct cppIVRSystem_IVRSystem_014_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_014 *iface = (struct cppIVRSystem_IVRSystem_014 *)params->linux_side; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h index 06e072bc..391bb5c4 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_014; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -253,7 +258,7 @@ struct cppIVRSystem_IVRSystem_014_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_104 *pEvent; + w_VREvent_t_103 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_014_PollNextEvent( struct cppIVRSystem_IVRSystem_014_PollNextEvent_params *params ); @@ -263,7 +268,7 @@ struct cppIVRSystem_IVRSystem_014_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_104 *pEvent; + w_VREvent_t_103 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -280,7 +285,7 @@ extern void cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; uint32_t type; }; @@ -291,7 +296,7 @@ struct cppIVRSystem_IVRSystem_014_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_104 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; }; extern void cppIVRSystem_IVRSystem_014_GetControllerState( struct cppIVRSystem_IVRSystem_014_GetControllerState_params *params ); @@ -302,7 +307,7 @@ struct cppIVRSystem_IVRSystem_014_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_104 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -385,5 +390,5 @@ struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params extern void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp index 00953ea2..abdde6b9 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_015.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_015 +struct u_IVRSystem_IVRSystem_015 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -41,12 +32,12 @@ struct cppIVRSystem_IVRSystem_015 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_106 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_106 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t *, uint32_t ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -62,292 +53,281 @@ struct cppIVRSystem_IVRSystem_015 void cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_015_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_015_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); } void cppIVRSystem_IVRSystem_015_GetProjectionRaw( struct cppIVRSystem_IVRSystem_015_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_015_ComputeDistortion( struct cppIVRSystem_IVRSystem_015_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (bool)iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); } void cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_015_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_015_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_015_ApplyTransform( struct cppIVRSystem_IVRSystem_015_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_015_PollNextEvent( struct cppIVRSystem_IVRSystem_015_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_107_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_015_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_015_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_107_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); } void cppIVRSystem_IVRSystem_015_GetControllerState( struct cppIVRSystem_IVRSystem_015_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerState( 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 ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_015_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_015_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_107_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_015_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_015_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_015_CaptureInputFocus( struct cppIVRSystem_IVRSystem_015_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_015_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_015_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_015_DriverDebugRequest( struct cppIVRSystem_IVRSystem_015_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h index 29f2b615..7b289df8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_015; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -252,7 +257,7 @@ struct cppIVRSystem_IVRSystem_015_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_107 *pEvent; + w_VREvent_t_106 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_015_PollNextEvent( struct cppIVRSystem_IVRSystem_015_PollNextEvent_params *params ); @@ -262,7 +267,7 @@ struct cppIVRSystem_IVRSystem_015_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_107 *pEvent; + w_VREvent_t_106 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -279,7 +284,7 @@ extern void cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; uint32_t type; }; @@ -290,7 +295,7 @@ struct cppIVRSystem_IVRSystem_015_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_107 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; }; extern void cppIVRSystem_IVRSystem_015_GetControllerState( struct cppIVRSystem_IVRSystem_015_GetControllerState_params *params ); @@ -301,7 +306,7 @@ struct cppIVRSystem_IVRSystem_015_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_107 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -384,5 +389,5 @@ struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params extern void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp index 8c41fcdc..302ab88b 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.9/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_016.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_016 +struct u_IVRSystem_IVRSystem_016 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -42,12 +33,12 @@ struct cppIVRSystem_IVRSystem_016 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_106 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_106 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t *, uint32_t ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -63,298 +54,287 @@ struct cppIVRSystem_IVRSystem_016 void cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_016_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_016_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); } void cppIVRSystem_IVRSystem_016_GetProjectionRaw( struct cppIVRSystem_IVRSystem_016_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_016_ComputeDistortion( struct cppIVRSystem_IVRSystem_016_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (bool)iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); } void cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_016_GetOutputDevice( struct cppIVRSystem_IVRSystem_016_GetOutputDevice_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->GetOutputDevice( params->pnDevice, params->textureType ); } void cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_016_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_016_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_016_ApplyTransform( struct cppIVRSystem_IVRSystem_016_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_016_PollNextEvent( struct cppIVRSystem_IVRSystem_016_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_109_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_016_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_016_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_109_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); } void cppIVRSystem_IVRSystem_016_GetControllerState( struct cppIVRSystem_IVRSystem_016_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerState( 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 ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_016_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_016_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_109_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_016_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_016_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_016_CaptureInputFocus( struct cppIVRSystem_IVRSystem_016_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_016_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_016_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_016_DriverDebugRequest( struct cppIVRSystem_IVRSystem_016_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_016 *iface = (struct cppIVRSystem_IVRSystem_016 *)params->linux_side; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h index bd6617cf..bf3cab5d 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_016; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -260,7 +265,7 @@ struct cppIVRSystem_IVRSystem_016_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_109 *pEvent; + w_VREvent_t_106 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_016_PollNextEvent( struct cppIVRSystem_IVRSystem_016_PollNextEvent_params *params ); @@ -270,7 +275,7 @@ struct cppIVRSystem_IVRSystem_016_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_109 *pEvent; + w_VREvent_t_106 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -287,7 +292,7 @@ extern void cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; uint32_t type; }; @@ -298,7 +303,7 @@ struct cppIVRSystem_IVRSystem_016_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_109 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; }; extern void cppIVRSystem_IVRSystem_016_GetControllerState( struct cppIVRSystem_IVRSystem_016_GetControllerState_params *params ); @@ -309,7 +314,7 @@ struct cppIVRSystem_IVRSystem_016_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_109 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -392,5 +397,5 @@ struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params extern void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp index ded6ef02..7e5f6564 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.11/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_017.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_017 +struct u_IVRSystem_IVRSystem_017 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -42,12 +33,12 @@ struct cppIVRSystem_IVRSystem_017 virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_1011 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_1011 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t *, uint32_t ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -63,298 +54,287 @@ struct cppIVRSystem_IVRSystem_017 void cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_017_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_017_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); } void cppIVRSystem_IVRSystem_017_GetProjectionRaw( struct cppIVRSystem_IVRSystem_017_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_017_ComputeDistortion( struct cppIVRSystem_IVRSystem_017_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (bool)iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); } void cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_017_GetOutputDevice( struct cppIVRSystem_IVRSystem_017_GetOutputDevice_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->GetOutputDevice( params->pnDevice, params->textureType, params->pInstance ); } void cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_017_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_017_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_017_ApplyTransform( struct cppIVRSystem_IVRSystem_017_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_017_PollNextEvent( struct cppIVRSystem_IVRSystem_017_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_1011_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + u_VREvent_t_1011 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_017_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_017_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_1011_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + u_VREvent_t_1011 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); } void cppIVRSystem_IVRSystem_017_GetControllerState( struct cppIVRSystem_IVRSystem_017_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerState( 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 ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_017_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_017_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_1011_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_017_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_017_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_017_CaptureInputFocus( struct cppIVRSystem_IVRSystem_017_CaptureInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->CaptureInputFocus( ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (bool)iface->CaptureInputFocus( ); } void cppIVRSystem_IVRSystem_017_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_017_ReleaseInputFocus_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->ReleaseInputFocus( ); } void cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (bool)iface->IsInputFocusCapturedByAnotherProcess( ); } void cppIVRSystem_IVRSystem_017_DriverDebugRequest( struct cppIVRSystem_IVRSystem_017_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_017 *iface = (struct cppIVRSystem_IVRSystem_017 *)params->linux_side; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h index 234e55fb..ee06ec15 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_017; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -261,7 +266,7 @@ struct cppIVRSystem_IVRSystem_017_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_1011 *pEvent; + w_VREvent_t_1011 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_017_PollNextEvent( struct cppIVRSystem_IVRSystem_017_PollNextEvent_params *params ); @@ -271,7 +276,7 @@ struct cppIVRSystem_IVRSystem_017_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_1011 *pEvent; + w_VREvent_t_1011 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -288,7 +293,7 @@ extern void cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; uint32_t type; }; @@ -299,7 +304,7 @@ struct cppIVRSystem_IVRSystem_017_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1011 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; }; extern void cppIVRSystem_IVRSystem_017_GetControllerState( struct cppIVRSystem_IVRSystem_017_GetControllerState_params *params ); @@ -310,7 +315,7 @@ struct cppIVRSystem_IVRSystem_017_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1011 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -393,5 +398,5 @@ struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params extern void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp index 492e8d13..3f0c7855 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.4.18/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_019.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_019 +struct u_IVRSystem_IVRSystem_019 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -43,12 +34,12 @@ struct cppIVRSystem_IVRSystem_019 virtual uint32_t GetArrayTrackedDeviceProperty( uint32_t, uint32_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_1322 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_1322 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t *, uint32_t ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -65,310 +56,299 @@ struct cppIVRSystem_IVRSystem_019 void cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_019_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_019_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); } void cppIVRSystem_IVRSystem_019_GetProjectionRaw( struct cppIVRSystem_IVRSystem_019_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_019_ComputeDistortion( struct cppIVRSystem_IVRSystem_019_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); } void cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_019_GetOutputDevice( struct cppIVRSystem_IVRSystem_019_GetOutputDevice_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->GetOutputDevice( params->pnDevice, params->textureType, params->pInstance ); } void cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_019_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_019_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_019_ApplyTransform( struct cppIVRSystem_IVRSystem_019_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_019_PollNextEvent( struct cppIVRSystem_IVRSystem_019_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_1418_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_019_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_019_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_1418_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); } void cppIVRSystem_IVRSystem_019_GetControllerState( struct cppIVRSystem_IVRSystem_019_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerState( 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 ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_019_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_019_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_1418_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_019_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_019_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_019_IsInputAvailable( struct cppIVRSystem_IVRSystem_019_IsInputAvailable_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->IsInputAvailable( ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->IsInputAvailable( ); } void cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->IsSteamVRDrawingControllers( ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->IsSteamVRDrawingControllers( ); } void cppIVRSystem_IVRSystem_019_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_019_ShouldApplicationPause_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->ShouldApplicationPause( ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->ShouldApplicationPause( ); } void cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->ShouldApplicationReduceRenderingWork( ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (bool)iface->ShouldApplicationReduceRenderingWork( ); } void cppIVRSystem_IVRSystem_019_DriverDebugRequest( struct cppIVRSystem_IVRSystem_019_DriverDebugRequest_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint32_t)iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); } void cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_019 *iface = (struct cppIVRSystem_IVRSystem_019 *)params->linux_side; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h index 9ece91f3..df495b59 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_019; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -274,7 +279,7 @@ struct cppIVRSystem_IVRSystem_019_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_1418 *pEvent; + w_VREvent_t_1322 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_019_PollNextEvent( struct cppIVRSystem_IVRSystem_019_PollNextEvent_params *params ); @@ -284,7 +289,7 @@ struct cppIVRSystem_IVRSystem_019_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_1418 *pEvent; + w_VREvent_t_1322 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -301,7 +306,7 @@ extern void cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; uint32_t type; }; @@ -312,7 +317,7 @@ struct cppIVRSystem_IVRSystem_019_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1418 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; }; extern void cppIVRSystem_IVRSystem_019_GetControllerState( struct cppIVRSystem_IVRSystem_019_GetControllerState_params *params ); @@ -323,7 +328,7 @@ struct cppIVRSystem_IVRSystem_019_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1418 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -414,5 +419,5 @@ struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params extern void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp index 47163941..a2f1030f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.7.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_020.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_020 +struct u_IVRSystem_IVRSystem_020 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -43,12 +34,12 @@ struct cppIVRSystem_IVRSystem_020 virtual uint32_t GetArrayTrackedDeviceProperty( uint32_t, uint32_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_1322 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_1322 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t *, uint32_t ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -66,316 +57,305 @@ struct cppIVRSystem_IVRSystem_020 void cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_020_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_020_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); } void cppIVRSystem_IVRSystem_020_GetProjectionRaw( struct cppIVRSystem_IVRSystem_020_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_020_ComputeDistortion( struct cppIVRSystem_IVRSystem_020_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); } void cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_020_GetOutputDevice( struct cppIVRSystem_IVRSystem_020_GetOutputDevice_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->GetOutputDevice( params->pnDevice, params->textureType, params->pInstance ); } void cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_020_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_020_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_020_ApplyTransform( struct cppIVRSystem_IVRSystem_020_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_020_PollNextEvent( struct cppIVRSystem_IVRSystem_020_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_1715_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_020_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_020_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_1715_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); } void cppIVRSystem_IVRSystem_020_GetControllerState( struct cppIVRSystem_IVRSystem_020_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerState( 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 ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_020_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_020_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_1715_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_020_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_020_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_020_IsInputAvailable( struct cppIVRSystem_IVRSystem_020_IsInputAvailable_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->IsInputAvailable( ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->IsInputAvailable( ); } void cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->IsSteamVRDrawingControllers( ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->IsSteamVRDrawingControllers( ); } void cppIVRSystem_IVRSystem_020_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_020_ShouldApplicationPause_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->ShouldApplicationPause( ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->ShouldApplicationPause( ); } void cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->ShouldApplicationReduceRenderingWork( ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (bool)iface->ShouldApplicationReduceRenderingWork( ); } void cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; iface->AcknowledgeQuit_UserPrompt( ); } void cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths( struct cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (uint32_t)iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize ); } void cppIVRSystem_IVRSystem_020_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_020_GetRuntimeVersion_params *params ) { - struct cppIVRSystem_IVRSystem_020 *iface = (struct cppIVRSystem_IVRSystem_020 *)params->linux_side; - params->_ret = iface->GetRuntimeVersion( ); + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = (const char *)iface->GetRuntimeVersion( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h index 13d8508e..03b7bc19 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_020; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -274,7 +279,7 @@ struct cppIVRSystem_IVRSystem_020_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_1715 *pEvent; + w_VREvent_t_1322 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_020_PollNextEvent( struct cppIVRSystem_IVRSystem_020_PollNextEvent_params *params ); @@ -284,7 +289,7 @@ struct cppIVRSystem_IVRSystem_020_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_1715 *pEvent; + w_VREvent_t_1322 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -301,7 +306,7 @@ extern void cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; uint32_t type; }; @@ -312,7 +317,7 @@ struct cppIVRSystem_IVRSystem_020_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1715 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; }; extern void cppIVRSystem_IVRSystem_020_GetControllerState( struct cppIVRSystem_IVRSystem_020_GetControllerState_params *params ); @@ -323,7 +328,7 @@ struct cppIVRSystem_IVRSystem_020_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1715 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -419,5 +424,5 @@ struct cppIVRSystem_IVRSystem_020_GetRuntimeVersion_params extern void cppIVRSystem_IVRSystem_020_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_020_GetRuntimeVersion_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp index 72bed60c..194d7f96 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.12.5/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_021.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_021 +struct u_IVRSystem_IVRSystem_021 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -43,12 +34,12 @@ struct cppIVRSystem_IVRSystem_021 virtual uint32_t GetArrayTrackedDeviceProperty( uint32_t, uint32_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_11030 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_11030 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t *, uint32_t ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -65,310 +56,299 @@ struct cppIVRSystem_IVRSystem_021 void cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_021_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_021_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); } void cppIVRSystem_IVRSystem_021_GetProjectionRaw( struct cppIVRSystem_IVRSystem_021_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_021_ComputeDistortion( struct cppIVRSystem_IVRSystem_021_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); } void cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_021_GetOutputDevice( struct cppIVRSystem_IVRSystem_021_GetOutputDevice_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; iface->GetOutputDevice( params->pnDevice, params->textureType, params->pInstance ); } void cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_021_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_021_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; iface->ResetSeatedZeroPose( ); } void cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_021_ApplyTransform( struct cppIVRSystem_IVRSystem_021_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_021_PollNextEvent( struct cppIVRSystem_IVRSystem_021_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_1125_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + u_VREvent_t_11030 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_021_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_021_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_1125_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + u_VREvent_t_11030 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); } void cppIVRSystem_IVRSystem_021_GetControllerState( struct cppIVRSystem_IVRSystem_021_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerState( 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 ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_021_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_021_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_1125_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_021_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_021_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_021_IsInputAvailable( struct cppIVRSystem_IVRSystem_021_IsInputAvailable_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->IsInputAvailable( ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->IsInputAvailable( ); } void cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->IsSteamVRDrawingControllers( ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->IsSteamVRDrawingControllers( ); } void cppIVRSystem_IVRSystem_021_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_021_ShouldApplicationPause_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->ShouldApplicationPause( ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->ShouldApplicationPause( ); } void cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->ShouldApplicationReduceRenderingWork( ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (bool)iface->ShouldApplicationReduceRenderingWork( ); } void cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths( struct cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (uint32_t)iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize ); } void cppIVRSystem_IVRSystem_021_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_021_GetRuntimeVersion_params *params ) { - struct cppIVRSystem_IVRSystem_021 *iface = (struct cppIVRSystem_IVRSystem_021 *)params->linux_side; - params->_ret = iface->GetRuntimeVersion( ); + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = (const char *)iface->GetRuntimeVersion( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h index 2b52e5fc..bc5d9e28 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_021; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -274,7 +279,7 @@ struct cppIVRSystem_IVRSystem_021_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_1125 *pEvent; + w_VREvent_t_11030 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_021_PollNextEvent( struct cppIVRSystem_IVRSystem_021_PollNextEvent_params *params ); @@ -284,7 +289,7 @@ struct cppIVRSystem_IVRSystem_021_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_1125 *pEvent; + w_VREvent_t_11030 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -301,7 +306,7 @@ extern void cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; uint32_t type; }; @@ -312,7 +317,7 @@ struct cppIVRSystem_IVRSystem_021_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1125 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; }; extern void cppIVRSystem_IVRSystem_021_GetControllerState( struct cppIVRSystem_IVRSystem_021_GetControllerState_params *params ); @@ -323,7 +328,7 @@ struct cppIVRSystem_IVRSystem_021_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1125 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -413,5 +418,5 @@ struct cppIVRSystem_IVRSystem_021_GetRuntimeVersion_params extern void cppIVRSystem_IVRSystem_021_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_021_GetRuntimeVersion_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp index bac6a022..d9358252 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRSystem_IVRSystem_022.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRSystem_IVRSystem_022 +struct u_IVRSystem_IVRSystem_022 { #ifdef __cplusplus virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; @@ -42,12 +33,12 @@ struct cppIVRSystem_IVRSystem_022 virtual uint32_t GetArrayTrackedDeviceProperty( uint32_t, uint32_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; - virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0; - virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual bool PollNextEvent( u_VREvent_t_1168 *, uint32_t ) = 0; + virtual bool PollNextEventWithPose( uint32_t, u_VREvent_t_1168 *, uint32_t, TrackedDevicePose_t * ) = 0; virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; - virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; - virtual bool GetControllerState( uint32_t, VRControllerState_t *, uint32_t ) = 0; - virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual bool GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual bool GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; @@ -64,304 +55,293 @@ struct cppIVRSystem_IVRSystem_022 void cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); } void cppIVRSystem_IVRSystem_022_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_022_GetProjectionMatrix_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); } void cppIVRSystem_IVRSystem_022_GetProjectionRaw( struct cppIVRSystem_IVRSystem_022_GetProjectionRaw_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); } void cppIVRSystem_IVRSystem_022_ComputeDistortion( struct cppIVRSystem_IVRSystem_022_ComputeDistortion_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); } void cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); } void cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); } void cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetD3D9AdapterIndex( ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (int32_t)iface->GetD3D9AdapterIndex( ); } void cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; iface->GetDXGIOutputInfo( params->pnAdapterIndex ); } void cppIVRSystem_IVRSystem_022_GetOutputDevice( struct cppIVRSystem_IVRSystem_022_GetOutputDevice_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; iface->GetOutputDevice( params->pnDevice, params->textureType, params->pInstance ); } void cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->IsDisplayOnDesktop( ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->IsDisplayOnDesktop( ); } void cppIVRSystem_IVRSystem_022_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_022_SetDisplayVisibility_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); } void cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); } void cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); } void cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); } void cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); } void cppIVRSystem_IVRSystem_022_ApplyTransform( struct cppIVRSystem_IVRSystem_022_ApplyTransform_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); } void cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); } void cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetTrackedDeviceClass( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->IsTrackedDeviceConnected( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (float)iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (int32_t)iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint64_t)iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); } void cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); } void cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (const char *)iface->GetPropErrorNameFromEnum( params->error ); } void cppIVRSystem_IVRSystem_022_PollNextEvent( struct cppIVRSystem_IVRSystem_022_PollNextEvent_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent ); - if (params->pEvent) - struct_VREvent_t_1267_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_022_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_022_PollNextEventWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - VREvent_t lin_pEvent; - 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 = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose ); - if (params->pEvent) - struct_VREvent_t_1267_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = (bool)iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; } void cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (const char *)iface->GetEventTypeNameFromEnum( params->eType ); } void cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); } void cppIVRSystem_IVRSystem_022_GetControllerState( struct cppIVRSystem_IVRSystem_022_GetControllerState_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerState( 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 ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_022_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_022_GetControllerStateWithPose_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - VRControllerState_t lin_pControllerState; - 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 = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, params->pTrackedDevicePose ); - if (params->pControllerState) - struct_VRControllerState001_t_1267_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = (bool)iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; } void cppIVRSystem_IVRSystem_022_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_022_TriggerHapticPulse_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); } void cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (const char *)iface->GetButtonIdNameFromEnum( params->eButtonId ); } void cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (const char *)iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); } void cppIVRSystem_IVRSystem_022_IsInputAvailable( struct cppIVRSystem_IVRSystem_022_IsInputAvailable_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->IsInputAvailable( ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->IsInputAvailable( ); } void cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->IsSteamVRDrawingControllers( ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->IsSteamVRDrawingControllers( ); } void cppIVRSystem_IVRSystem_022_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_022_ShouldApplicationPause_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->ShouldApplicationPause( ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->ShouldApplicationPause( ); } void cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->ShouldApplicationReduceRenderingWork( ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (bool)iface->ShouldApplicationReduceRenderingWork( ); } void cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint32_t)iface->PerformFirmwareUpdate( params->unDeviceIndex ); } void cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; iface->AcknowledgeQuit_Exiting( ); } void cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths( struct cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (uint32_t)iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize ); } void cppIVRSystem_IVRSystem_022_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_022_GetRuntimeVersion_params *params ) { - struct cppIVRSystem_IVRSystem_022 *iface = (struct cppIVRSystem_IVRSystem_022 *)params->linux_side; - params->_ret = iface->GetRuntimeVersion( ); + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = (const char *)iface->GetRuntimeVersion( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h index 2bd3c997..b15acd00 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRSystem_IVRSystem_022; +#endif /* __cplusplus */ + struct cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params { void *linux_side; @@ -268,7 +273,7 @@ struct cppIVRSystem_IVRSystem_022_PollNextEvent_params { void *linux_side; bool _ret; - winVREvent_t_1267 *pEvent; + w_VREvent_t_1168 *pEvent; uint32_t uncbVREvent; }; extern void cppIVRSystem_IVRSystem_022_PollNextEvent( struct cppIVRSystem_IVRSystem_022_PollNextEvent_params *params ); @@ -278,7 +283,7 @@ struct cppIVRSystem_IVRSystem_022_PollNextEventWithPose_params void *linux_side; bool _ret; uint32_t eOrigin; - winVREvent_t_1267 *pEvent; + w_VREvent_t_1168 *pEvent; uint32_t uncbVREvent; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -295,7 +300,7 @@ extern void cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum( struct cppIVRSy struct cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh_params { void *linux_side; - HiddenAreaMesh_t *_ret; + w_HiddenAreaMesh_t *_ret; uint32_t eEye; uint32_t type; }; @@ -306,7 +311,7 @@ struct cppIVRSystem_IVRSystem_022_GetControllerState_params void *linux_side; bool _ret; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1267 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; }; extern void cppIVRSystem_IVRSystem_022_GetControllerState( struct cppIVRSystem_IVRSystem_022_GetControllerState_params *params ); @@ -317,7 +322,7 @@ struct cppIVRSystem_IVRSystem_022_GetControllerStateWithPose_params bool _ret; uint32_t eOrigin; uint32_t unControllerDeviceIndex; - winVRControllerState001_t_1267 *pControllerState; + w_VRControllerState001_t *pControllerState; uint32_t unControllerStateSize; TrackedDevicePose_t *pTrackedDevicePose; }; @@ -407,5 +412,5 @@ struct cppIVRSystem_IVRSystem_022_GetRuntimeVersion_params extern void cppIVRSystem_IVRSystem_022_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_022_GetRuntimeVersion_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp index 4da619cd..178477ff 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRTrackedCamera_IVRTrackedCamera_001.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRTrackedCamera_IVRTrackedCamera_001 +struct u_IVRTrackedCamera_IVRTrackedCamera_001 { #ifdef __cplusplus virtual bool HasCamera( uint32_t ) = 0; @@ -23,8 +14,8 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_001 virtual bool StopVideoStream( uint32_t ) = 0; virtual bool IsVideoStreamActive( uint32_t ) = 0; virtual float GetVideoStreamElapsedTime( uint32_t ) = 0; - virtual const CameraVideoStreamFrame_t * GetVideoStreamFrame( uint32_t ) = 0; - virtual bool ReleaseVideoStreamFrame( uint32_t, const CameraVideoStreamFrame_t * ) = 0; + virtual const u_CameraVideoStreamFrame_t_0914 * GetVideoStreamFrame( uint32_t ) = 0; + virtual bool ReleaseVideoStreamFrame( uint32_t, const u_CameraVideoStreamFrame_t_0914 * ) = 0; virtual bool SetAutoExposure( uint32_t, bool ) = 0; virtual bool PauseVideoStream( uint32_t ) = 0; virtual bool ResumeVideoStream( uint32_t ) = 0; @@ -36,115 +27,111 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_001 void cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->HasCamera( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->HasCamera( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->GetCameraFirmwareDescription( params->nDeviceIndex, params->pBuffer, params->nBufferLen ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->GetCameraFirmwareDescription( params->nDeviceIndex, params->pBuffer, params->nBufferLen ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->GetCameraFrameDimensions( params->nDeviceIndex, params->nVideoStreamFormat, params->pWidth, params->pHeight ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->GetCameraFrameDimensions( params->nDeviceIndex, params->nVideoStreamFormat, params->pWidth, params->pHeight ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat( struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->SetCameraVideoStreamFormat( params->nDeviceIndex, params->nVideoStreamFormat ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->SetCameraVideoStreamFormat( params->nDeviceIndex, params->nVideoStreamFormat ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->GetCameraVideoStreamFormat( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraVideoStreamFormat( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming( struct cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->EnableCameraForStreaming( params->nDeviceIndex, params->bEnable ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->EnableCameraForStreaming( params->nDeviceIndex, params->bEnable ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->StartVideoStream( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->StartVideoStream( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->StopVideoStream( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->StopVideoStream( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive( struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->IsVideoStreamActive( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->IsVideoStreamActive( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->GetVideoStreamElapsedTime( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (float)iface->GetVideoStreamElapsedTime( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->GetVideoStreamFrame( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (const w_CameraVideoStreamFrame_t_0914 *)iface->GetVideoStreamFrame( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame( struct cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - CameraVideoStreamFrame_t lin_pFrameImage; - if (params->pFrameImage) - struct_CameraVideoStreamFrame_t_0914_win_to_lin( params->pFrameImage, &lin_pFrameImage ); - params->_ret = iface->ReleaseVideoStreamFrame( params->nDeviceIndex, params->pFrameImage ? &lin_pFrameImage : nullptr ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + u_CameraVideoStreamFrame_t_0914 u_pFrameImage; + if (params->pFrameImage) u_pFrameImage = *params->pFrameImage; + params->_ret = (bool)iface->ReleaseVideoStreamFrame( params->nDeviceIndex, params->pFrameImage ? &u_pFrameImage : nullptr ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure( struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->SetAutoExposure( params->nDeviceIndex, params->bEnable ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->SetAutoExposure( params->nDeviceIndex, params->bEnable ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->PauseVideoStream( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->PauseVideoStream( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->ResumeVideoStream( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->ResumeVideoStream( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused( struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->IsVideoStreamPaused( params->nDeviceIndex ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->IsVideoStreamPaused( params->nDeviceIndex ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->GetCameraDistortion( params->nDeviceIndex, params->flInputU, params->flInputV, params->pflOutputU, params->pflOutputV ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->GetCameraDistortion( params->nDeviceIndex, params->flInputU, params->flInputV, params->pflOutputU, params->pflOutputV ); } void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; - params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->flWidthPixels, params->flHeightPixels, params->flZNear, params->flZFar, params->pProjection ); + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = (bool)iface->GetCameraProjection( params->nDeviceIndex, params->flWidthPixels, params->flHeightPixels, params->flZNear, params->flZFar, params->pProjection ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h index c5d71f7c..a7dac30d 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRTrackedCamera_IVRTrackedCamera_001; +#endif /* __cplusplus */ + struct cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params { void *linux_side; @@ -92,7 +97,7 @@ extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params { void *linux_side; - const CameraVideoStreamFrame_t *_ret; + const w_CameraVideoStreamFrame_t_0914 *_ret; uint32_t nDeviceIndex; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params *params ); @@ -102,7 +107,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params void *linux_side; bool _ret; uint32_t nDeviceIndex; - const CameraVideoStreamFrame_t *pFrameImage; + const w_CameraVideoStreamFrame_t_0914 *pFrameImage; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame( struct cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params *params ); @@ -165,5 +170,5 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp index 17c520d5..44c15fe8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.0/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRTrackedCamera_IVRTrackedCamera_002.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRTrackedCamera_IVRTrackedCamera_002 +struct u_IVRTrackedCamera_IVRTrackedCamera_002 { #ifdef __cplusplus virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; @@ -20,58 +11,55 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_002 virtual uint32_t GetCameraProjection( uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; virtual uint32_t AcquireVideoStreamingService( uint32_t, void ** ) = 0; virtual uint32_t ReleaseVideoStreamingService( void * ) = 0; - virtual uint32_t GetVideoStreamFrameBuffer( void *, uint32_t, void *, uint32_t, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( void *, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_100 *, uint32_t ) = 0; #endif /* __cplusplus */ }; void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; - params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = (const char *)iface->GetCameraErrorNameFromEnum( params->eCameraError ); } void cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; - params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = (uint32_t)iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; - params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); } void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; - params->_ret = iface->GetCameraIntrinisics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraIntrinisics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter ); } void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; - params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); } void cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; - params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = (uint32_t)iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); } void cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; - params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseVideoStreamingService( params->hTrackedCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; - params->_ret = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader, params->nFrameHeaderSize ); + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader, params->nFrameHeaderSize ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h index 6ef6354b..33b3124a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRTrackedCamera_IVRTrackedCamera_002; +#endif /* __cplusplus */ + struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params { void *linux_side; @@ -79,11 +84,11 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params uint32_t eFrameType; void *pFrameBuffer; uint32_t nFrameBufferSize; - CameraVideoStreamFrameHeader_t *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp index f25f8914..67b3648f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.16/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRTrackedCamera_IVRTrackedCamera_003.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRTrackedCamera_IVRTrackedCamera_003 +struct u_IVRTrackedCamera_IVRTrackedCamera_003 { #ifdef __cplusplus virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; @@ -20,86 +11,83 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_003 virtual uint32_t GetCameraProjection( uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; virtual uint32_t AcquireVideoStreamingService( uint32_t, uint64_t * ) = 0; virtual uint32_t ReleaseVideoStreamingService( uint64_t ) = 0; - virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_100 *, uint32_t ) = 0; virtual uint32_t GetVideoStreamTextureSize( uint32_t, uint32_t, VRTextureBounds_t *, uint32_t *, uint32_t * ) = 0; - virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; - virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, u_CameraVideoStreamFrameHeader_t_100 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, u_CameraVideoStreamFrameHeader_t_100 *, uint32_t ) = 0; virtual uint32_t ReleaseVideoStreamTextureGL( uint64_t, uint32_t ) = 0; #endif /* __cplusplus */ }; void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (const char *)iface->GetCameraErrorNameFromEnum( params->eCameraError ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->GetCameraIntrinsics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraIntrinsics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseVideoStreamingService( params->hTrackedCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader, params->nFrameHeaderSize ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader, params->nFrameHeaderSize ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader, params->nFrameHeaderSize ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader, params->nFrameHeaderSize ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader, params->nFrameHeaderSize ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader, params->nFrameHeaderSize ); } void cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; - params->_ret = iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h index a9f7a86e..68534d3e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRTrackedCamera_IVRTrackedCamera_003; +#endif /* __cplusplus */ + struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params { void *linux_side; @@ -79,7 +84,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params uint32_t eFrameType; void *pFrameBuffer; uint32_t nFrameBufferSize; - CameraVideoStreamFrameHeader_t *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params *params ); @@ -104,7 +109,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_param uint32_t eFrameType; void *pD3D11DeviceOrResource; void **ppD3D11ShaderResourceView; - CameraVideoStreamFrameHeader_t *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params *params ); @@ -116,7 +121,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params uint64_t hTrackedCamera; uint32_t eFrameType; uint32_t *pglTextureId; - CameraVideoStreamFrameHeader_t *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params *params ); @@ -131,5 +136,5 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_para extern void cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp index 697d246f..0c426c7f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRTrackedCamera_IVRTrackedCamera_004.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRTrackedCamera_IVRTrackedCamera_004 +struct u_IVRTrackedCamera_IVRTrackedCamera_004 { #ifdef __cplusplus virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; @@ -20,104 +11,95 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_004 virtual uint32_t GetCameraProjection( uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; virtual uint32_t AcquireVideoStreamingService( uint32_t, uint64_t * ) = 0; virtual uint32_t ReleaseVideoStreamingService( uint64_t ) = 0; - virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; virtual uint32_t GetVideoStreamTextureSize( uint32_t, uint32_t, VRTextureBounds_t *, uint32_t *, uint32_t * ) = 0; - virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; - virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; virtual uint32_t ReleaseVideoStreamTextureGL( uint64_t, uint32_t ) = 0; #endif /* __cplusplus */ }; void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = (const char *)iface->GetCameraErrorNameFromEnum( params->eCameraError ); } void cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = (uint32_t)iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); } void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - params->_ret = iface->GetCameraIntrinsics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraIntrinsics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter ); } void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); } void cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = (uint32_t)iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); } void cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseVideoStreamingService( params->hTrackedCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - CameraVideoStreamFrameHeader_t lin_pFrameHeader; - 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 = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, 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 ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = (uint32_t)iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; } void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - params->_ret = iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); } void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - CameraVideoStreamFrameHeader_t lin_pFrameHeader; - 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 = iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, 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 ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = (uint32_t)iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; } void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - CameraVideoStreamFrameHeader_t lin_pFrameHeader; - 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 = iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, 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 ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = (uint32_t)iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; } void cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; - params->_ret = iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h index b055dc52..98d5eaf1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRTrackedCamera_IVRTrackedCamera_004; +#endif /* __cplusplus */ + struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params { void *linux_side; @@ -79,7 +84,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params uint32_t eFrameType; void *pFrameBuffer; uint32_t nFrameBufferSize; - winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params *params ); @@ -104,7 +109,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_param uint32_t eFrameType; void *pD3D11DeviceOrResource; void **ppD3D11ShaderResourceView; - winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params *params ); @@ -116,7 +121,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params uint64_t hTrackedCamera; uint32_t eFrameType; uint32_t *pglTextureId; - winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params *params ); @@ -131,5 +136,5 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_para extern void cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp index f304f009..02b75cba 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.6.10/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRTrackedCamera_IVRTrackedCamera_005.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRTrackedCamera_IVRTrackedCamera_005 +struct u_IVRTrackedCamera_IVRTrackedCamera_005 { #ifdef __cplusplus virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; @@ -20,104 +11,95 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_005 virtual uint32_t GetCameraProjection( uint32_t, uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; virtual uint32_t AcquireVideoStreamingService( uint32_t, uint64_t * ) = 0; virtual uint32_t ReleaseVideoStreamingService( uint64_t ) = 0; - virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; virtual uint32_t GetVideoStreamTextureSize( uint32_t, uint32_t, VRTextureBounds_t *, uint32_t *, uint32_t * ) = 0; - virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; - virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; virtual uint32_t ReleaseVideoStreamTextureGL( uint64_t, uint32_t ) = 0; #endif /* __cplusplus */ }; void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = (const char *)iface->GetCameraErrorNameFromEnum( params->eCameraError ); } void cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = (uint32_t)iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); } void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - params->_ret = iface->GetCameraIntrinsics( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraIntrinsics( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->pFocalLength, params->pCenter ); } void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraProjection( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); } void cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = (uint32_t)iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); } void cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseVideoStreamingService( params->hTrackedCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - CameraVideoStreamFrameHeader_t lin_pFrameHeader; - 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 = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, 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 ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = (uint32_t)iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; } void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - params->_ret = iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); } void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - CameraVideoStreamFrameHeader_t lin_pFrameHeader; - 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 = iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, 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 ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = (uint32_t)iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; } void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - CameraVideoStreamFrameHeader_t lin_pFrameHeader; - 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 = iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, 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 ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = (uint32_t)iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; } void cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; - params->_ret = iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h index acc39e42..69f6ce12 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRTrackedCamera_IVRTrackedCamera_005; +#endif /* __cplusplus */ + struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params { void *linux_side; @@ -81,7 +86,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params uint32_t eFrameType; void *pFrameBuffer; uint32_t nFrameBufferSize; - winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params *params ); @@ -106,7 +111,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_param uint32_t eFrameType; void *pD3D11DeviceOrResource; void **ppD3D11ShaderResourceView; - winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params *params ); @@ -118,7 +123,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params uint64_t hTrackedCamera; uint32_t eFrameType; uint32_t *pglTextureId; - winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params *params ); @@ -133,5 +138,5 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_para extern void cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp index 31f3eba5..8b791d8c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp @@ -1,16 +1,7 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" #include "cppIVRTrackedCamera_IVRTrackedCamera_006.h" -#ifdef __cplusplus -extern "C" { -#endif - -struct cppIVRTrackedCamera_IVRTrackedCamera_006 +struct u_IVRTrackedCamera_IVRTrackedCamera_006 { #ifdef __cplusplus virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; @@ -20,10 +11,10 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_006 virtual uint32_t GetCameraProjection( uint32_t, uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; virtual uint32_t AcquireVideoStreamingService( uint32_t, uint64_t * ) = 0; virtual uint32_t ReleaseVideoStreamingService( uint64_t ) = 0; - virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; virtual uint32_t GetVideoStreamTextureSize( uint32_t, uint32_t, VRTextureBounds_t *, uint32_t *, uint32_t * ) = 0; - virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; - virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, CameraVideoStreamFrameHeader_t *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; virtual uint32_t ReleaseVideoStreamTextureGL( uint64_t, uint32_t ) = 0; virtual void SetCameraTrackingSpace( uint32_t ) = 0; virtual uint32_t GetCameraTrackingSpace( ) = 0; @@ -32,106 +23,97 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_006 void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (const char *)iface->GetCameraErrorNameFromEnum( params->eCameraError ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (uint32_t)iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->GetCameraIntrinsics( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraIntrinsics( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->pFocalLength, params->pCenter ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraProjection( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (uint32_t)iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseVideoStreamingService( params->hTrackedCamera ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - CameraVideoStreamFrameHeader_t lin_pFrameHeader; - 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 = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, 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 ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = (uint32_t)iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; } void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - CameraVideoStreamFrameHeader_t lin_pFrameHeader; - 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 = iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, 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 ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = (uint32_t)iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; } void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - CameraVideoStreamFrameHeader_t lin_pFrameHeader; - 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 = iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, 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 ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = (uint32_t)iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; } void cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (uint32_t)iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace( struct cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; iface->SetCameraTrackingSpace( params->eUniverse ); } void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params *params ) { - struct cppIVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct cppIVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; - params->_ret = iface->GetCameraTrackingSpace( ); + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = (uint32_t)iface->GetCameraTrackingSpace( ); } -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h index 0a0f521a..243238d9 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h @@ -1,7 +1,12 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + #ifdef __cplusplus extern "C" { -#endif -struct cppIVRTrackedCamera_IVRTrackedCamera_006; +#endif /* __cplusplus */ + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params { void *linux_side; @@ -81,7 +86,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params uint32_t eFrameType; void *pFrameBuffer; uint32_t nFrameBufferSize; - winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params *params ); @@ -106,7 +111,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_param uint32_t eFrameType; void *pD3D11DeviceOrResource; void **ppD3D11ShaderResourceView; - winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params *params ); @@ -118,7 +123,7 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params uint64_t hTrackedCamera; uint32_t eFrameType; uint32_t *pglTextureId; - winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; uint32_t nFrameHeaderSize; }; extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params *params ); @@ -147,5 +152,5 @@ struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params *params ); #ifdef __cplusplus -} -#endif +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/unix_private.h b/vrclient_x64/vrclient_x64/unix_private.h new file mode 100644 index 00000000..3ba4e220 --- /dev/null +++ b/vrclient_x64/vrclient_x64/unix_private.h @@ -0,0 +1,33 @@ +#ifndef __VRCLIENT_UNIX_PRIVATE_H +#define __VRCLIENT_UNIX_PRIVATE_H + +#include +#include + +#include +#include + +#include "vrclient_structs.h" + +#include "wine/debug.h" +#include "wine/list.h" + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +extern w_RenderModel_t_090 *struct_RenderModel_t_090_wrap(u_RenderModel_t_090 *l); +extern u_RenderModel_t_090 *struct_RenderModel_t_090_unwrap(w_RenderModel_t_090 *w); +extern w_RenderModel_t_0912 *struct_RenderModel_t_0912_wrap(u_RenderModel_t_0912 *l); +extern u_RenderModel_t_0912 *struct_RenderModel_t_0912_unwrap(w_RenderModel_t_0912 *w); + +extern w_RenderModel_TextureMap_t_090 *struct_RenderModel_TextureMap_t_090_wrap(u_RenderModel_TextureMap_t_090 *l); +extern u_RenderModel_TextureMap_t_090 *struct_RenderModel_TextureMap_t_090_unwrap(w_RenderModel_TextureMap_t_090 *l); +extern w_RenderModel_TextureMap_t_1237 *struct_RenderModel_TextureMap_t_1237_wrap(u_RenderModel_TextureMap_t_1237 *l); +extern u_RenderModel_TextureMap_t_1237 *struct_RenderModel_TextureMap_t_1237_unwrap(w_RenderModel_TextureMap_t_1237 *w); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#endif /* __VRCLIENT_UNIX_PRIVATE_H */ diff --git a/vrclient_x64/vrclient_x64/unixlib_generated.cpp b/vrclient_x64/vrclient_x64/unixlib_generated.cpp index e651ba45..7e1e1a73 100644 --- a/vrclient_x64/vrclient_x64/unixlib_generated.cpp +++ b/vrclient_x64/vrclient_x64/unixlib_generated.cpp @@ -1,6 +1,6 @@ /* This file is auto-generated, do not edit. */ -#include "vrclient_structs.h" +#include "unix_private.h" C_ASSERT( sizeof(VREvent_ApplicationLaunch_t) >= 8 ); C_ASSERT( offsetof(VREvent_ApplicationLaunch_t, pid) == 0 ); diff --git a/vrclient_x64/vrclient_x64/vrclient_defs.h b/vrclient_x64/vrclient_x64/vrclient_defs.h index 759be5c4..5408a625 100644 --- a/vrclient_x64/vrclient_x64/vrclient_defs.h +++ b/vrclient_x64/vrclient_x64/vrclient_defs.h @@ -1,11 +1,7 @@ #include +#include -#ifdef __cplusplus -#include -#else -#ifndef bool -typedef char bool; /* 1 byte on modern visual studio c++ */ -#endif +#ifndef __cplusplus /* never dereferenced */ typedef struct VROverlayIntersectionParams_t VROverlayIntersectionParams_t; diff --git a/vrclient_x64/vrclient_x64/vrclient_main.c b/vrclient_x64/vrclient_x64/vrclient_main.c index 543da418..4be8c6f7 100644 --- a/vrclient_x64/vrclient_x64/vrclient_main.c +++ b/vrclient_x64/vrclient_x64/vrclient_main.c @@ -17,12 +17,11 @@ #include "d3d11_4.h" #include "dxvk-interop.h" -#include "vrclient_defs.h" +#include "vrclient_structs.h" #include "vrclient_private.h" #include "flatapi.h" -#include "struct_converters.h" #include "cppIVRClientCore_IVRClientCore_002.h" #include "cppIVRClientCore_IVRClientCore_003.h" #include "cppIVRMailbox_IVRMailbox_001.h" @@ -581,11 +580,11 @@ static void ivrclientcore_cleanup( struct client_core_data *user_data ) DeleteCriticalSection(&user_data->critical_section); } -Texture_t vrclient_translate_texture_dxvk( const Texture_t *texture, struct VRVulkanTextureData_t *vkdata, - IDXGIVkInteropSurface *dxvk_surface, IDXGIVkInteropDevice **p_dxvk_device, - VkImageLayout *image_layout, VkImageCreateInfo *image_info ) +w_Texture_t vrclient_translate_texture_dxvk( const w_Texture_t *texture, w_VRVulkanTextureData_t *vkdata, + IDXGIVkInteropSurface *dxvk_surface, IDXGIVkInteropDevice **p_dxvk_device, + VkImageLayout *image_layout, VkImageCreateInfo *image_info ) { - struct Texture_t vktexture; + w_Texture_t vktexture; VkImage image_handle; dxvk_surface->lpVtbl->GetDevice(dxvk_surface, p_dxvk_device); diff --git a/vrclient_x64/vrclient_x64/vrclient_private.h b/vrclient_x64/vrclient_x64/vrclient_private.h index 6a1f6d5c..6849a980 100644 --- a/vrclient_x64/vrclient_x64/vrclient_private.h +++ b/vrclient_x64/vrclient_x64/vrclient_private.h @@ -1,7 +1,11 @@ +#include +#include #include + #include #ifndef __cplusplus +#include "wine/debug.h" #include "cxx.h" #else typedef void (*vtable_ptr)(void); @@ -78,9 +82,9 @@ struct generic_interface }; #ifdef __dxvk_interop_h__ -extern Texture_t vrclient_translate_texture_dxvk( const Texture_t *texture, struct VRVulkanTextureData_t *vkdata, - IDXGIVkInteropSurface *dxvk_surface, IDXGIVkInteropDevice **p_dxvk_device, - VkImageLayout *image_layout, VkImageCreateInfo *image_info ); +extern w_Texture_t vrclient_translate_texture_dxvk( const w_Texture_t *texture, w_VRVulkanTextureData_t *vkdata, + IDXGIVkInteropSurface *dxvk_surface, IDXGIVkInteropDevice **p_dxvk_device, + VkImageLayout *image_layout, VkImageCreateInfo *image_info ); #endif /* __dxvk_interop_h__ */ extern VkDevice_T *get_native_VkDevice( VkDevice_T *device ); diff --git a/vrclient_x64/vrclient_x64/vrclient_structs.h b/vrclient_x64/vrclient_x64/vrclient_structs.h index a0f52426..49a78579 100644 --- a/vrclient_x64/vrclient_x64/vrclient_structs.h +++ b/vrclient_x64/vrclient_x64/vrclient_structs.h @@ -95,6 +95,40 @@ typedef struct VkQueue_T VkQueue_T; #include "vrclient_structs_generated.h" +#define VROverlayError_InvalidHandle 11 +#define VRRenderModelError_None 0 +#define VRRenderModelError_Loading 100 +#define VRRenderModelError_NotSupported 200 +#define VRRenderModelError_InvalidArg 300 +#define VRRenderModelError_InvalidTexture 400 + +#define VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff 2 + +enum EVRSubmitFlags +{ + Submit_Default = 0x00, + Submit_LensDistortionAlreadyApplied = 0x01, + Submit_GlRenderBuffer = 0x02, + Submit_Reserved = 0x04, + Submit_TextureWithPose = 0x08, + Submit_TextureWithDepth = 0x10, + Submit_FrameDiscontinuty = 0x20, + Submit_VulkanTextureWithArrayData = 0x40, + Submit_GlArrayTexture = 0x80, + Submit_Reserved2 = 0x08000, + Submit_Reserved3 = 0x10000, +}; + +enum ETextureType +{ + TextureType_DirectX = 0, + TextureType_OpenGL = 1, + TextureType_Vulkan = 2, + TextureType_IOSurface = 3, + TextureType_DirectX12 = 4, + TextureType_DXGISharedHandle = 5, +}; + #ifdef __cplusplus } /* extern "C" */ #endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/vrcompositor_manual.c b/vrclient_x64/vrclient_x64/vrcompositor_manual.c index 9f394a21..a3ea2a0d 100644 --- a/vrclient_x64/vrclient_x64/vrcompositor_manual.c +++ b/vrclient_x64/vrclient_x64/vrcompositor_manual.c @@ -1,18 +1,17 @@ #include #include -#include #include "windef.h" #include "winbase.h" -#include "wine/debug.h" +#define COBJMACROS +#include "d3d11_4.h" #include "dxvk-interop.h" -#include "vrclient_defs.h" +#include "vrclient_structs.h" #include "vrclient_private.h" #include "flatapi.h" -#include "struct_converters.h" #include "cppIVRCompositor_IVRCompositor_005.h" #include "cppIVRCompositor_IVRCompositor_006.h" #include "cppIVRCompositor_IVRCompositor_007.h" @@ -40,16 +39,16 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); struct submit_state { void *submit; - struct Texture_t texture; - struct VRVulkanTextureArrayData_t vkdata; + w_Texture_t texture; + w_VRVulkanTextureArrayData_t vkdata; union { struct { - struct VRVulkanTextureData_t depth_vkdata; - VRTextureWithPoseAndDepth_t both; - VRTextureWithDepth_t depth; - VRTextureWithPose_t pose; + w_VRVulkanTextureData_t depth_vkdata; + w_VRTextureWithPoseAndDepth_t both; + w_VRTextureWithDepth_t depth; + w_VRTextureWithPose_t pose; }; struct { @@ -61,9 +60,10 @@ struct submit_state }; }; -static void load_compositor_texture_dxvk( uint32_t eye, const Texture_t *texture, uint32_t *flags, struct submit_state *state ) +static void load_compositor_texture_dxvk( uint32_t eye, const w_Texture_t *texture, uint32_t *flags, struct submit_state *state ) { static const uint32_t supported_flags = Submit_LensDistortionAlreadyApplied | Submit_FrameDiscontinuty; + w_VRVulkanTextureData_t vkdata; VkImageCreateInfo image_info; IUnknown *texture_iface; @@ -82,8 +82,19 @@ static void load_compositor_texture_dxvk( uint32_t eye, const Texture_t *texture return; } - state->texture = vrclient_translate_texture_dxvk( texture, &state->vkdata.t, state->dxvk_surface, &state->dxvk_device, + state->texture = vrclient_translate_texture_dxvk( texture, &vkdata, state->dxvk_surface, &state->dxvk_device, &state->image_layout, &image_info ); + state->vkdata.m_nImage = vkdata.m_nImage; + state->vkdata.m_pDevice = vkdata.m_pDevice; + state->vkdata.m_pPhysicalDevice = vkdata.m_pPhysicalDevice; + state->vkdata.m_pInstance = vkdata.m_pInstance; + state->vkdata.m_pQueue = vkdata.m_pQueue; + state->vkdata.m_nQueueFamilyIndex = vkdata.m_nQueueFamilyIndex; + state->vkdata.m_nWidth = vkdata.m_nWidth; + state->vkdata.m_nHeight = vkdata.m_nHeight; + state->vkdata.m_nFormat = vkdata.m_nFormat; + state->vkdata.m_nSampleCount = vkdata.m_nSampleCount; + state->texture.handle = &state->vkdata; compositor_data.dxvk_device = state->dxvk_device; @@ -119,19 +130,19 @@ static void free_compositor_texture_dxvk( struct submit_state *state ) state->dxvk_surface->lpVtbl->Release( state->dxvk_surface ); } -static void load_compositor_texture_vulkan( uint32_t eye, const Texture_t *texture, uint32_t flags, struct submit_state *state ) +static void load_compositor_texture_vulkan( uint32_t eye, const w_Texture_t *texture, uint32_t flags, struct submit_state *state ) { - struct VRVulkanTextureData_t *their_vkdata; + w_VRVulkanTextureData_t *their_vkdata; their_vkdata = texture->handle; - memcpy( &state->vkdata, their_vkdata, flags & Submit_VulkanTextureWithArrayData ? sizeof(struct VRVulkanTextureArrayData_t) - : sizeof(struct VRVulkanTextureData_t) ); + memcpy( &state->vkdata, their_vkdata, flags & Submit_VulkanTextureWithArrayData ? sizeof(w_VRVulkanTextureArrayData_t) + : sizeof(w_VRVulkanTextureData_t) ); - state->vkdata.t.m_pDevice = get_native_VkDevice( state->vkdata.t.m_pDevice ); - state->vkdata.t.m_pPhysicalDevice = get_native_VkPhysicalDevice( state->vkdata.t.m_pPhysicalDevice ); - state->vkdata.t.m_pInstance = get_native_VkInstance( state->vkdata.t.m_pInstance ); - state->vkdata.t.m_pQueue = get_native_VkQueue( state->vkdata.t.m_pQueue ); + state->vkdata.m_pDevice = get_native_VkDevice( state->vkdata.m_pDevice ); + state->vkdata.m_pPhysicalDevice = get_native_VkPhysicalDevice( state->vkdata.m_pPhysicalDevice ); + state->vkdata.m_pInstance = get_native_VkInstance( state->vkdata.m_pInstance ); + state->vkdata.m_pQueue = get_native_VkQueue( state->vkdata.m_pQueue ); switch (flags & (Submit_TextureWithPose | Submit_TextureWithDepth)) { @@ -141,20 +152,20 @@ static void load_compositor_texture_vulkan( uint32_t eye, const Texture_t *textu break; case Submit_TextureWithPose: - state->pose = *(VRTextureWithPose_t *)texture; - state->pose.texture.handle = &state->vkdata; + state->pose = *(w_VRTextureWithPose_t *)texture; + state->pose.handle = &state->vkdata; state->submit = &state->pose; break; case Submit_TextureWithDepth: - state->depth = *(VRTextureWithDepth_t *)texture; - state->depth.texture.handle = &state->vkdata; + state->depth = *(w_VRTextureWithDepth_t *)texture; + state->depth.handle = &state->vkdata; state->submit = &state->depth; break; case Submit_TextureWithPose | Submit_TextureWithDepth: - state->both = *(VRTextureWithPoseAndDepth_t *)texture; - state->both.texture.handle = &state->vkdata; + state->both = *(w_VRTextureWithPoseAndDepth_t *)texture; + state->both.handle = &state->vkdata; their_vkdata = state->both.depth.handle; state->depth_vkdata = *their_vkdata; @@ -171,18 +182,18 @@ static void load_compositor_texture_vulkan( uint32_t eye, const Texture_t *textu struct set_skybox_override_state { - Texture_t textures[6]; - struct VRVulkanTextureData_t vkdata[6]; + w_Texture_t textures[6]; + w_VRVulkanTextureData_t vkdata[6]; }; -static const Texture_t *set_skybox_override_d3d11_init( const Texture_t *textures, uint32_t count, struct set_skybox_override_state *state ) +static const w_Texture_t *set_skybox_override_d3d11_init( const w_Texture_t *textures, uint32_t count, struct set_skybox_override_state *state ) { IDXGIVkInteropSurface *dxvk_surface; unsigned int i; for (i = 0; i < count; ++i) { - const Texture_t *texture = &textures[i]; + const w_Texture_t *texture = &textures[i]; VkImageSubresourceRange subresources; IDXGIVkInteropDevice *dxvk_device; VkImageCreateInfo image_info; @@ -241,7 +252,7 @@ static const Texture_t *set_skybox_override_d3d11_init( const Texture_t *texture return state->textures; } -static const Texture_t *set_skybox_override_init( const Texture_t *textures, uint32_t count, struct set_skybox_override_state *state ) +static const w_Texture_t *set_skybox_override_init( const w_Texture_t *textures, uint32_t count, struct set_skybox_override_state *state ) { if (!count || count > 6) { @@ -256,7 +267,7 @@ static const Texture_t *set_skybox_override_init( const Texture_t *textures, uin return textures; } -static void set_skybox_override_done( const Texture_t *textures, uint32_t count ) +static void set_skybox_override_done( const w_Texture_t *textures, uint32_t count ) { if (!count || count > 6) return; while (count--) if (!textures[count].handle || textures[count].eType != TextureType_DirectX) return; @@ -289,7 +300,7 @@ static void wait_get_poses_done( void *linux_side ) } uint32_t __thiscall winIVRCompositor_IVRCompositor_009_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -321,7 +332,7 @@ void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride_params params = @@ -337,7 +348,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride( struct } uint32_t __thiscall winIVRCompositor_IVRCompositor_010_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -369,7 +380,7 @@ void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride_params params = @@ -385,7 +396,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride( struct } uint32_t __thiscall winIVRCompositor_IVRCompositor_011_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -417,7 +428,7 @@ void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride_params params = @@ -433,7 +444,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride( struct } uint32_t __thiscall winIVRCompositor_IVRCompositor_012_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -465,7 +476,7 @@ void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride_params params = @@ -481,7 +492,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride( struct } uint32_t __thiscall winIVRCompositor_IVRCompositor_013_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -513,7 +524,7 @@ void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride_params params = @@ -529,7 +540,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride( struct } uint32_t __thiscall winIVRCompositor_IVRCompositor_014_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -561,7 +572,7 @@ void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride_params params = @@ -577,7 +588,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride( struct } uint32_t __thiscall winIVRCompositor_IVRCompositor_015_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -609,7 +620,7 @@ void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride_params params = @@ -644,7 +655,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses( struct w_st } uint32_t __thiscall winIVRCompositor_IVRCompositor_016_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -676,7 +687,7 @@ void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride_params params = @@ -711,7 +722,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses( struct w_st } uint32_t __thiscall winIVRCompositor_IVRCompositor_017_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -743,7 +754,7 @@ void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride_params params = @@ -778,7 +789,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses( struct w_st } uint32_t __thiscall winIVRCompositor_IVRCompositor_018_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -810,7 +821,7 @@ void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride_params params = @@ -845,7 +856,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses( struct w_st } uint32_t __thiscall winIVRCompositor_IVRCompositor_019_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -877,7 +888,7 @@ void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride_params params = @@ -927,7 +938,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses( struct w_st } uint32_t __thiscall winIVRCompositor_IVRCompositor_020_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -959,7 +970,7 @@ void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride_params params = @@ -1025,7 +1036,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses( struct w_st } uint32_t __thiscall winIVRCompositor_IVRCompositor_021_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -1073,7 +1084,7 @@ void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride_params params = @@ -1139,7 +1150,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses( struct w_st } uint32_t __thiscall winIVRCompositor_IVRCompositor_022_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -1187,7 +1198,7 @@ void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride_params params = @@ -1253,7 +1264,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses( struct w_st } uint32_t __thiscall winIVRCompositor_IVRCompositor_024_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -1301,7 +1312,7 @@ void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride_params params = @@ -1367,7 +1378,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_026_WaitGetPoses( struct w_st } uint32_t __thiscall winIVRCompositor_IVRCompositor_026_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -1415,7 +1426,7 @@ void __thiscall winIVRCompositor_IVRCompositor_026_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride_params params = @@ -1446,7 +1457,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensions } uint32_t __thiscall winIVRCompositor_IVRCompositor_027_Submit( struct w_steam_iface *_this, - uint32_t eEye, const Texture_t *pTexture, + uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; @@ -1494,7 +1505,7 @@ void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff( struct w_ } uint32_t __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride( struct w_steam_iface *_this, - const Texture_t *pTextures, uint32_t unTextureCount ) + const w_Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; struct cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride_params params = diff --git a/vrclient_x64/vrclient_x64/vrinput_manual.c b/vrclient_x64/vrclient_x64/vrinput_manual.c index a7f1ebdf..a0450ce0 100644 --- a/vrclient_x64/vrclient_x64/vrinput_manual.c +++ b/vrclient_x64/vrclient_x64/vrinput_manual.c @@ -1,18 +1,6 @@ -#include -#include -#include - -#include "windef.h" -#include "winbase.h" - -#include "wine/debug.h" -#include "dxvk-interop.h" -#include "vrclient_defs.h" +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "flatapi.h" - -#include "struct_converters.h" #include "cppIVRInput_IVRInput_004.h" #include "cppIVRInput_IVRInput_005.h" #include "cppIVRInput_IVRInput_006.h" @@ -21,23 +9,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#pragma pack( push, 8 ) -struct winInputDigitalActionData_t -{ - bool bActive; - uint32_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__((ms_struct)); -#pragma pack( pop ) - #ifndef __x86_64__ static uint32_t ivrinput_get_digital_action_data( uint64_t action_handle, void *action_data, uint32_t action_data_size, uint32_t restrict_to_device, unsigned int version ) { /* Digital action state change fixup hack. */ - struct winInputDigitalActionData_t *data = action_data; + w_InputDigitalActionData_t *data = action_data; LARGE_INTEGER qpf; unsigned int i; @@ -96,7 +73,7 @@ static uint32_t ivrinput_get_digital_action_data( uint64_t action_handle, void * #endif uint32_t __thiscall winIVRInput_IVRInput_004_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, - winInputDigitalActionData_t_1017 *pActionData, + w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) { struct cppIVRInput_IVRInput_004_GetDigitalActionData_params params = @@ -120,7 +97,7 @@ uint32_t __thiscall winIVRInput_IVRInput_004_GetDigitalActionData( struct w_stea } uint32_t __thiscall winIVRInput_IVRInput_005_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, - winInputDigitalActionData_t_1322 *pActionData, + w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) { struct cppIVRInput_IVRInput_005_GetDigitalActionData_params params = @@ -144,7 +121,7 @@ uint32_t __thiscall winIVRInput_IVRInput_005_GetDigitalActionData( struct w_stea } uint32_t __thiscall winIVRInput_IVRInput_006_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, - winInputDigitalActionData_t_1418 *pActionData, + w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) { struct cppIVRInput_IVRInput_006_GetDigitalActionData_params params = @@ -168,7 +145,7 @@ uint32_t __thiscall winIVRInput_IVRInput_006_GetDigitalActionData( struct w_stea } uint32_t __thiscall winIVRInput_IVRInput_007_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, - winInputDigitalActionData_t_1916 *pActionData, + w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) { struct cppIVRInput_IVRInput_007_GetDigitalActionData_params params = @@ -192,7 +169,7 @@ uint32_t __thiscall winIVRInput_IVRInput_007_GetDigitalActionData( struct w_stea } uint32_t __thiscall winIVRInput_IVRInput_010_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, - winInputDigitalActionData_t_1267 *pActionData, + w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) { struct cppIVRInput_IVRInput_010_GetDigitalActionData_params params = diff --git a/vrclient_x64/vrclient_x64/vroverlay_manual.c b/vrclient_x64/vrclient_x64/vroverlay_manual.c index 396e1552..9245706e 100644 --- a/vrclient_x64/vrclient_x64/vroverlay_manual.c +++ b/vrclient_x64/vrclient_x64/vroverlay_manual.c @@ -1,6 +1,5 @@ #include #include -#include #include "windef.h" #include "winbase.h" @@ -8,15 +7,11 @@ #define COBJMACROS #include "d3d11_4.h" #include "dxvk-interop.h" - -#include "wine/debug.h" -#include "vrclient_defs.h" +#include "vrclient_structs.h" #include "vrclient_private.h" #include "flatapi.h" -#include "struct_converters.h" - #include "cppIVROverlay_IVROverlay_001.h" #include "cppIVROverlay_IVROverlay_002.h" #include "cppIVROverlay_IVROverlay_003.h" @@ -45,8 +40,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); struct set_overlay_texture_state { - struct Texture_t texture; - struct VRVulkanTextureData_t vkdata; + w_Texture_t texture; + w_VRVulkanTextureData_t vkdata; VkImageLayout image_layout; VkImageSubresourceRange subresources; @@ -54,7 +49,7 @@ struct set_overlay_texture_state IDXGIVkInteropDevice *dxvk_device; }; -static void load_overlay_texture_dxvk( const Texture_t *texture, struct set_overlay_texture_state *state ) +static void load_overlay_texture_dxvk( const w_Texture_t *texture, struct set_overlay_texture_state *state ) { VkImageCreateInfo image_info; IUnknown *texture_iface; @@ -100,9 +95,9 @@ static void free_unix_overlay_texture_dxvk( struct set_overlay_texture_state *st state->dxvk_surface->lpVtbl->Release( state->dxvk_surface ); } -static void load_overlay_texture_vulkan( const Texture_t *texture, struct set_overlay_texture_state *state ) +static void load_overlay_texture_vulkan( const w_Texture_t *texture, struct set_overlay_texture_state *state ) { - struct VRVulkanTextureData_t *their_vkdata; + w_VRVulkanTextureData_t *their_vkdata; TRACE( "texture = %p\n", texture ); @@ -163,7 +158,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_007_SetOverlayTexture_params params = @@ -184,7 +179,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_008_SetOverlayTexture_params params = @@ -205,7 +200,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_010_SetOverlayTexture_params params = @@ -226,7 +221,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_011_SetOverlayTexture_params params = @@ -247,7 +242,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_012_SetOverlayTexture_params params = @@ -268,7 +263,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_013_SetOverlayTexture_params params = @@ -289,7 +284,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_014_SetOverlayTexture_params params = @@ -310,7 +305,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_016_SetOverlayTexture_params params = @@ -331,7 +326,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_017_SetOverlayTexture_params params = @@ -352,7 +347,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_018_SetOverlayTexture_params params = @@ -373,7 +368,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_019_SetOverlayTexture_params params = @@ -394,7 +389,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_020_SetOverlayTexture_params params = @@ -415,7 +410,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_021_SetOverlayTexture_params params = @@ -436,7 +431,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_022_SetOverlayTexture_params params = @@ -457,7 +452,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_024_SetOverlayTexture_params params = @@ -478,7 +473,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_025_SetOverlayTexture_params params = @@ -499,7 +494,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_026_SetOverlayTexture_params params = @@ -520,7 +515,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture( struct w_ste } uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, - const Texture_t *pTexture ) + const w_Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; struct cppIVROverlay_IVROverlay_027_SetOverlayTexture_params params = diff --git a/vrclient_x64/vrclient_x64/vrrendermodels_manual.c b/vrclient_x64/vrclient_x64/vrrendermodels_manual.c index 4e8a1ea3..1d59bf93 100644 --- a/vrclient_x64/vrclient_x64/vrrendermodels_manual.c +++ b/vrclient_x64/vrclient_x64/vrrendermodels_manual.c @@ -1,22 +1,17 @@ #include #include -#include #include "windef.h" #include "winbase.h" -#include "wine/debug.h" -#include "dxvk-interop.h" -#include "vrclient_defs.h" -#include "vrclient_private.h" - #define COBJMACROS #include "d3d11_4.h" +#include "dxvk-interop.h" +#include "vrclient_structs.h" +#include "vrclient_private.h" #include "flatapi.h" -#include "struct_converters.h" - /* 0918 is binary compatible with 1015 */ typedef struct winRenderModel_t_0918 winRenderModel_t_0918; typedef struct winRenderModel_TextureMap_t_0918 winRenderModel_TextureMap_t_0918; @@ -34,32 +29,7 @@ typedef struct winRenderModel_TextureMap_t_1267 winRenderModel_TextureMap_t_1267 WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#pragma pack( push, 8 ) -struct winRenderModel_TextureMap_t_0918 -{ - uint16_t unWidth; - uint16_t unHeight; - const uint8_t *rubTextureMapData; -} __attribute__((ms_struct)); - -struct winRenderModel_TextureMap_t_1015 -{ - uint16_t unWidth; - uint16_t unHeight; - const uint8_t *rubTextureMapData; -} __attribute__((ms_struct)); - -struct winRenderModel_TextureMap_t_1237 -{ - uint16_t unWidth; - uint16_t unHeight; - const uint8_t *rubTextureMapData; - uint32_t format; - uint16_t unMipLevels; -} __attribute__((ms_struct)); -#pragma pack( pop ) - -static uint32_t load_into_texture_d3d11( ID3D11Texture2D *texture, const struct winRenderModel_TextureMap_t_1237 *data ) +static uint32_t load_into_texture_d3d11( ID3D11Texture2D *texture, const w_RenderModel_TextureMap_t_1237 *data ) { D3D11_TEXTURE2D_DESC texture_desc; ID3D11DeviceContext *context; @@ -100,10 +70,9 @@ static uint32_t load_into_texture_d3d11( ID3D11Texture2D *texture, const struct return VRRenderModelError_None; } -static uint32_t load_linux_texture_map_004( void *linux_side, int32_t texture_id, - struct winRenderModel_TextureMap_t_1237 **texture_map ) +static uint32_t load_linux_texture_map_004( void *linux_side, int32_t texture_id, w_RenderModel_TextureMap_t_1237 **texture_map ) { - struct winRenderModel_TextureMap_t_0918 *orig_map; + w_RenderModel_TextureMap_t_090 *orig_map; struct cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params load_params = { .linux_side = linux_side, @@ -123,15 +92,14 @@ static uint32_t load_linux_texture_map_004( void *linux_side, int32_t texture_id return 0; } -static void free_linux_texture_map_004( void *linux_side, struct winRenderModel_TextureMap_t_1237 *texture_map ) +static void free_linux_texture_map_004( void *linux_side, w_RenderModel_TextureMap_t_1237 *texture_map ) { HeapFree( GetProcessHeap(), 0, texture_map ); } -static uint32_t load_linux_texture_map_005( void *linux_side, int32_t texture_id, - struct winRenderModel_TextureMap_t_1237 **texture_map ) +static uint32_t load_linux_texture_map_005( void *linux_side, int32_t texture_id, w_RenderModel_TextureMap_t_1237 **texture_map ) { - struct winRenderModel_TextureMap_t_1015 *orig_map; + w_RenderModel_TextureMap_t_090 *orig_map; struct cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params load_params = { .linux_side = linux_side, @@ -151,36 +119,35 @@ static uint32_t load_linux_texture_map_005( void *linux_side, int32_t texture_id return 0; } -static void free_linux_texture_map_005( void *linux_side, struct winRenderModel_TextureMap_t_1237 *texture_map ) +static void free_linux_texture_map_005( void *linux_side, w_RenderModel_TextureMap_t_1237 *texture_map ) { HeapFree( GetProcessHeap(), 0, texture_map ); } -static uint32_t load_linux_texture_map_006( void *linux_side, int32_t texture_id, - struct winRenderModel_TextureMap_t_1237 **texture_map ) +static uint32_t load_linux_texture_map_006( void *linux_side, int32_t texture_id, w_RenderModel_TextureMap_t_1237 **texture_map ) { struct cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params load_params = { .linux_side = linux_side, .textureId = texture_id, - .ppTexture = (struct winRenderModel_TextureMap_t_1267 **)texture_map, + .ppTexture = 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 ) +static void free_linux_texture_map_006( void *linux_side, w_RenderModel_TextureMap_t_1237 *texture_map ) { struct cppIVRRenderModels_IVRRenderModels_006_FreeTexture_params params = { .linux_side = linux_side, - .pTexture = (struct winRenderModel_TextureMap_t_1267 *)texture_map, + .pTexture = texture_map, }; cppIVRRenderModels_IVRRenderModels_006_FreeTexture( ¶ms ); } -static uint32_t ivrrendermodels_load_texture_d3d11_async( void *device, struct winRenderModel_TextureMap_t_1237 *texture_map, +static uint32_t ivrrendermodels_load_texture_d3d11_async( void *device, w_RenderModel_TextureMap_t_1237 *texture_map, void **dst_texture ) { uint32_t error; @@ -222,7 +189,7 @@ static uint32_t ivrrendermodels_load_texture_d3d11_async( void *device, struct w return error; } -static uint32_t ivrrendermodels_load_into_texture_d3d11_async( void *dst_texture, struct winRenderModel_TextureMap_t_1237 *texture_map ) +static uint32_t ivrrendermodels_load_into_texture_d3d11_async( void *dst_texture, w_RenderModel_TextureMap_t_1237 *texture_map ) { IUnknown *unk = dst_texture; uint32_t error; @@ -244,7 +211,7 @@ static uint32_t ivrrendermodels_load_into_texture_d3d11_async( void *dst_texture uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async( struct w_steam_iface *_this, int32_t textureId, void *pD3D11Device, void **ppD3D11Texture2D ) { - struct winRenderModel_TextureMap_t_1237 *texture_map = NULL; + w_RenderModel_TextureMap_t_1237 *texture_map = NULL; uint32_t _ret; TRACE( "%p\n", _this ); @@ -269,7 +236,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Asyn uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async( struct w_steam_iface *_this, int32_t textureId, void *pD3D11Device, void **ppD3D11Texture2D ) { - struct winRenderModel_TextureMap_t_1237 *texture_map = NULL; + w_RenderModel_TextureMap_t_1237 *texture_map = NULL; uint32_t _ret; TRACE( "%p\n", _this ); @@ -294,7 +261,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Asyn uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async( struct w_steam_iface *_this, int32_t textureId, void *pD3D11Device, void **ppD3D11Texture2D ) { - struct winRenderModel_TextureMap_t_1237 *texture_map = NULL; + w_RenderModel_TextureMap_t_1237 *texture_map = NULL; uint32_t _ret; TRACE( "%p\n", _this ); @@ -326,7 +293,7 @@ void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11( struct uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async( struct w_steam_iface *_this, int32_t textureId, void *pDstTexture ) { - struct winRenderModel_TextureMap_t_1237 *texture_map = NULL; + w_RenderModel_TextureMap_t_1237 *texture_map = NULL; uint32_t _ret; TRACE( "%p\n", _this ); @@ -361,7 +328,7 @@ void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11( struct uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async( struct w_steam_iface *_this, int32_t textureId, void *pDstTexture ) { - struct winRenderModel_TextureMap_t_1237 *texture_map = NULL; + w_RenderModel_TextureMap_t_1237 *texture_map = NULL; uint32_t _ret; TRACE( "%p\n", _this ); diff --git a/vrclient_x64/vrclient_x64/vrsystem_manual.c b/vrclient_x64/vrclient_x64/vrsystem_manual.c index 240b2092..296edc46 100644 --- a/vrclient_x64/vrclient_x64/vrsystem_manual.c +++ b/vrclient_x64/vrclient_x64/vrsystem_manual.c @@ -1,18 +1,6 @@ -#include -#include -#include - -#include "windef.h" -#include "winbase.h" - -#include "wine/debug.h" -#include "dxvk-interop.h" -#include "vrclient_defs.h" +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "flatapi.h" - -#include "struct_converters.h" #include "cppIVRSystem_IVRSystem_003.h" #include "cppIVRSystem_IVRSystem_004.h" #include "cppIVRSystem_IVRSystem_005.h" diff --git a/vrclient_x64/vrclient_x64/winIVRApplications.c b/vrclient_x64/vrclient_x64/winIVRApplications.c index 68d1d618..141012e8 100644 --- a/vrclient_x64/vrclient_x64/winIVRApplications.c +++ b/vrclient_x64/vrclient_x64/winIVRApplications.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); @@ -1686,7 +1679,7 @@ uint32_t __thiscall winIVRApplications_IVRApplications_005_LaunchApplication(str return params._ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_005_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) +uint32_t __thiscall winIVRApplications_IVRApplications_005_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const w_AppOverrideKeys_t *pKeys, uint32_t unKeys) { struct cppIVRApplications_IVRApplications_005_LaunchTemplateApplication_params params = { @@ -2127,7 +2120,7 @@ uint32_t __thiscall winIVRApplications_IVRApplications_006_LaunchApplication(str return params._ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_006_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) +uint32_t __thiscall winIVRApplications_IVRApplications_006_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const w_AppOverrideKeys_t *pKeys, uint32_t unKeys) { struct cppIVRApplications_IVRApplications_006_LaunchTemplateApplication_params params = { @@ -2674,7 +2667,7 @@ uint32_t __thiscall winIVRApplications_IVRApplications_007_LaunchApplication(str return params._ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_007_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) +uint32_t __thiscall winIVRApplications_IVRApplications_007_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const w_AppOverrideKeys_t *pKeys, uint32_t unKeys) { struct cppIVRApplications_IVRApplications_007_LaunchTemplateApplication_params params = { diff --git a/vrclient_x64/vrclient_x64/winIVRChaperone.c b/vrclient_x64/vrclient_x64/winIVRChaperone.c index f7c2a52f..f59e9577 100644 --- a/vrclient_x64/vrclient_x64/winIVRChaperone.c +++ b/vrclient_x64/vrclient_x64/winIVRChaperone.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c b/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c index 0b6060c1..1fbb224a 100644 --- a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c +++ b/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRClientCore.c b/vrclient_x64/vrclient_x64/winIVRClientCore.c index 349feecc..193de235 100644 --- a/vrclient_x64/vrclient_x64/winIVRClientCore.c +++ b/vrclient_x64/vrclient_x64/winIVRClientCore.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRCompositor.c b/vrclient_x64/vrclient_x64/winIVRCompositor.c index 0e8e1d04..2684c339 100644 --- a/vrclient_x64/vrclient_x64/winIVRCompositor.c +++ b/vrclient_x64/vrclient_x64/winIVRCompositor.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); @@ -209,7 +202,7 @@ void __thiscall winIVRCompositor_IVRCompositor_005_ClearOverlay(struct w_steam_i cppIVRCompositor_IVRCompositor_005_ClearOverlay( ¶ms ); } -bool __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_091 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_090 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_005_GetFrameTiming_params params = { @@ -559,7 +552,7 @@ void __thiscall winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(struc cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame( ¶ms ); } -bool __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_092 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_090 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_006_GetFrameTiming_params params = { @@ -879,7 +872,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_007_Submit(struct w_steam_ifa .pBounds = pBounds, }; TRACE("%p\n", _this); - if (eTextureType == API_DirectX) FIXME( "Not implemented Direct3D API!\n" ); + if (eTextureType == TextureType_DirectX) FIXME( "Not implemented Direct3D API!\n" ); cppIVRCompositor_IVRCompositor_007_Submit( ¶ms ); return params._ret; } @@ -894,7 +887,7 @@ void __thiscall winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(struc cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame( ¶ms ); } -bool __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_098 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_093 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_007_GetFrameTiming_params params = { @@ -1220,7 +1213,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_008_Submit(struct w_steam_ifa .nSubmitFlags = nSubmitFlags, }; TRACE("%p\n", _this); - if (eTextureType == API_DirectX) FIXME( "Not implemented Direct3D API!\n" ); + if (eTextureType == TextureType_DirectX) FIXME( "Not implemented Direct3D API!\n" ); cppIVRCompositor_IVRCompositor_008_Submit( ¶ms ); return params._ret; } @@ -1235,7 +1228,7 @@ void __thiscall winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(struc cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame( ¶ms ); } -bool __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0910 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_093 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_008_GetFrameTiming_params params = { @@ -1290,7 +1283,7 @@ void __thiscall winIVRCompositor_IVRCompositor_008_SetSkyboxOverride(struct w_st .pBottom = pBottom, }; TRACE("%p\n", _this); - if (eTextureType == API_DirectX) FIXME( "Not implemented Direct3D API!\n" ); + if (eTextureType == TextureType_DirectX) FIXME( "Not implemented Direct3D API!\n" ); cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride( ¶ms ); } @@ -1621,7 +1614,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastPoses(struct w_ste return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_009_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_009_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -1635,7 +1628,7 @@ void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0913 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_009_GetFrameTiming_params params = { @@ -1687,7 +1680,7 @@ void __thiscall winIVRCompositor_IVRCompositor_009_FadeGrid(struct w_steam_iface cppIVRCompositor_IVRCompositor_009_FadeGrid( ¶ms ); } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -1990,7 +1983,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastPoses(struct w_ste return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_010_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_010_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -2004,7 +1997,7 @@ void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0914 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_010_GetFrameTiming_params params = { @@ -2056,7 +2049,7 @@ void __thiscall winIVRCompositor_IVRCompositor_010_FadeGrid(struct w_steam_iface cppIVRCompositor_IVRCompositor_010_FadeGrid( ¶ms ); } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -2359,7 +2352,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastPoses(struct w_ste return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_011_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_011_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -2373,7 +2366,7 @@ void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0915 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_011_GetFrameTiming_params params = { @@ -2425,7 +2418,7 @@ void __thiscall winIVRCompositor_IVRCompositor_011_FadeGrid(struct w_steam_iface cppIVRCompositor_IVRCompositor_011_FadeGrid( ¶ms ); } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -2744,7 +2737,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_012_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_012_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -2758,7 +2751,7 @@ void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0915 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_012_GetFrameTiming_params params = { @@ -2810,7 +2803,7 @@ void __thiscall winIVRCompositor_IVRCompositor_012_FadeGrid(struct w_steam_iface cppIVRCompositor_IVRCompositor_012_FadeGrid( ¶ms ); } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -3145,7 +3138,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_013_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_013_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -3159,7 +3152,7 @@ void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0915 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_013_GetFrameTiming_params params = { @@ -3211,7 +3204,7 @@ void __thiscall winIVRCompositor_IVRCompositor_013_FadeGrid(struct w_steam_iface cppIVRCompositor_IVRCompositor_013_FadeGrid( ¶ms ); } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -3561,7 +3554,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_014_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_014_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -3575,7 +3568,7 @@ void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0920 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_014_GetFrameTiming_params params = { @@ -3627,7 +3620,7 @@ void __thiscall winIVRCompositor_IVRCompositor_014_FadeGrid(struct w_steam_iface cppIVRCompositor_IVRCompositor_014_FadeGrid( ¶ms ); } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -4010,7 +4003,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_015_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_015_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -4024,7 +4017,7 @@ void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0920 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_015_GetFrameTiming_params params = { @@ -4048,7 +4041,7 @@ float __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_015_GetCumulativeStats_params params = { @@ -4088,7 +4081,7 @@ void __thiscall winIVRCompositor_IVRCompositor_015_FadeGrid(struct w_steam_iface cppIVRCompositor_IVRCompositor_015_FadeGrid( ¶ms ); } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -4560,7 +4553,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_016_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_016_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -4574,7 +4567,7 @@ void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_102 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_016_GetFrameTiming_params params = { @@ -4598,7 +4591,7 @@ float __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_016_GetCumulativeStats_params params = { @@ -4638,7 +4631,7 @@ void __thiscall winIVRCompositor_IVRCompositor_016_FadeGrid(struct w_steam_iface cppIVRCompositor_IVRCompositor_016_FadeGrid( ¶ms ); } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -5082,7 +5075,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_017_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_017_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -5096,7 +5089,7 @@ void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_017_GetFrameTiming_params params = { @@ -5109,7 +5102,7 @@ bool __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(struct w_steam return params._ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) { struct cppIVRCompositor_IVRCompositor_017_GetFrameTimings_params params = { @@ -5133,7 +5126,7 @@ float __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_017_GetCumulativeStats_params params = { @@ -5173,7 +5166,7 @@ void __thiscall winIVRCompositor_IVRCompositor_017_FadeGrid(struct w_steam_iface cppIVRCompositor_IVRCompositor_017_FadeGrid( ¶ms ); } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -5621,7 +5614,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_018_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_018_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -5635,7 +5628,7 @@ void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_018_GetFrameTiming_params params = { @@ -5648,7 +5641,7 @@ bool __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(struct w_steam return params._ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) { struct cppIVRCompositor_IVRCompositor_018_GetFrameTimings_params params = { @@ -5672,7 +5665,7 @@ float __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_018_GetCumulativeStats_params params = { @@ -5736,7 +5729,7 @@ float __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(struct w return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -6190,7 +6183,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_019_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_019_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -6204,7 +6197,7 @@ void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_019_GetFrameTiming_params params = { @@ -6217,7 +6210,7 @@ bool __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(struct w_steam return params._ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) { struct cppIVRCompositor_IVRCompositor_019_GetFrameTimings_params params = { @@ -6241,7 +6234,7 @@ float __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_019_GetCumulativeStats_params params = { @@ -6305,7 +6298,7 @@ float __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(struct w return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -6779,7 +6772,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_020_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_020_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -6793,7 +6786,7 @@ void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_020_GetFrameTiming_params params = { @@ -6806,7 +6799,7 @@ bool __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(struct w_steam return params._ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) { struct cppIVRCompositor_IVRCompositor_020_GetFrameTimings_params params = { @@ -6830,7 +6823,7 @@ float __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_020_GetCumulativeStats_params params = { @@ -6894,7 +6887,7 @@ float __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(struct w return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -7383,7 +7376,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_021_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_021_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -7397,7 +7390,7 @@ void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_021_GetFrameTiming_params params = { @@ -7410,7 +7403,7 @@ bool __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(struct w_steam return params._ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) { struct cppIVRCompositor_IVRCompositor_021_GetFrameTimings_params params = { @@ -7434,7 +7427,7 @@ float __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_021_GetCumulativeStats_params params = { @@ -7498,7 +7491,7 @@ float __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(struct w return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -8016,7 +8009,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_022_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_022_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -8030,7 +8023,7 @@ void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_022_GetFrameTiming_params params = { @@ -8043,7 +8036,7 @@ bool __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(struct w_steam return params._ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t nFrames) { struct cppIVRCompositor_IVRCompositor_022_GetFrameTimings_params params = { @@ -8067,7 +8060,7 @@ float __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_022_GetCumulativeStats_params params = { @@ -8131,7 +8124,7 @@ float __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(struct w return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -8690,7 +8683,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_024_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_024_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -8704,7 +8697,7 @@ void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_024_GetFrameTiming_params params = { @@ -8717,7 +8710,7 @@ bool __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(struct w_steam return params._ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t nFrames) { struct cppIVRCompositor_IVRCompositor_024_GetFrameTimings_params params = { @@ -8741,7 +8734,7 @@ float __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_024_GetCumulativeStats_params params = { @@ -8805,7 +8798,7 @@ float __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(struct w return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -9398,7 +9391,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_026_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_026_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -9412,7 +9405,7 @@ void __thiscall winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_026_GetFrameTiming_params params = { @@ -9425,7 +9418,7 @@ bool __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTiming(struct w_steam return params._ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t nFrames) { struct cppIVRCompositor_IVRCompositor_026_GetFrameTimings_params params = { @@ -9449,7 +9442,7 @@ float __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_026_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_026_GetCumulativeStats_params params = { @@ -9513,7 +9506,7 @@ float __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(struct w return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(struct w_steam_iface *_this) { @@ -10165,7 +10158,7 @@ uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDevi return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_027_Submit(struct w_steam_iface *_this, uint32_t eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_027_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(struct w_steam_iface *_this) { @@ -10179,7 +10172,7 @@ void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(struc 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 __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t unFramesAgo) { struct cppIVRCompositor_IVRCompositor_027_GetFrameTiming_params params = { @@ -10192,7 +10185,7 @@ bool __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(struct w_steam return params._ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t nFrames) { struct cppIVRCompositor_IVRCompositor_027_GetFrameTimings_params params = { @@ -10216,7 +10209,7 @@ float __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(struct return params._ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_1267 *pStats, uint32_t nStatsSizeInBytes) { struct cppIVRCompositor_IVRCompositor_027_GetCumulativeStats_params params = { @@ -10280,7 +10273,7 @@ float __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(struct w return params._ret; } -extern uint32_t __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(struct w_steam_iface *_this) { diff --git a/vrclient_x64/vrclient_x64/winIVRControlPanel.c b/vrclient_x64/vrclient_x64/winIVRControlPanel.c index 82dcef47..0a7bd8b8 100644 --- a/vrclient_x64/vrclient_x64/winIVRControlPanel.c +++ b/vrclient_x64/vrclient_x64/winIVRControlPanel.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRDriverManager.c b/vrclient_x64/vrclient_x64/winIVRDriverManager.c index 7a6d28e5..909d4a66 100644 --- a/vrclient_x64/vrclient_x64/winIVRDriverManager.c +++ b/vrclient_x64/vrclient_x64/winIVRDriverManager.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c b/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c index a3d4d3a2..0ed4de9a 100644 --- a/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c +++ b/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRHeadsetView.c b/vrclient_x64/vrclient_x64/winIVRHeadsetView.c index 616a8266..b4d24c53 100644 --- a/vrclient_x64/vrclient_x64/winIVRHeadsetView.c +++ b/vrclient_x64/vrclient_x64/winIVRHeadsetView.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c b/vrclient_x64/vrclient_x64/winIVRIOBuffer.c index 4a6f61b9..d3524fe9 100644 --- a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c +++ b/vrclient_x64/vrclient_x64/winIVRIOBuffer.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRInput.c b/vrclient_x64/vrclient_x64/winIVRInput.c index c6d48b5c..7413ac8c 100644 --- a/vrclient_x64/vrclient_x64/winIVRInput.c +++ b/vrclient_x64/vrclient_x64/winIVRInput.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); @@ -89,7 +82,7 @@ uint32_t __thiscall winIVRInput_IVRInput_003_GetInputSourceHandle(struct w_steam return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_003_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +uint32_t __thiscall winIVRInput_IVRInput_003_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1015 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { struct cppIVRInput_IVRInput_003_UpdateActionState_params params = { @@ -103,7 +96,7 @@ uint32_t __thiscall winIVRInput_IVRInput_003_UpdateActionState(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, winInputDigitalActionData_t_1015 *pActionData, uint32_t unActionDataSize) +uint32_t __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize) { struct cppIVRInput_IVRInput_003_GetDigitalActionData_params params = { @@ -117,7 +110,7 @@ uint32_t __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(struct w_steam return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, winInputAnalogActionData_t_1015 *pActionData, uint32_t unActionDataSize) +uint32_t __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize) { struct cppIVRInput_IVRInput_003_GetAnalogActionData_params params = { @@ -131,7 +124,7 @@ uint32_t __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(struct w_steam_ return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_003_GetPoseActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1015 *pActionData, uint32_t unActionDataSize) +uint32_t __thiscall winIVRInput_IVRInput_003_GetPoseActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize) { struct cppIVRInput_IVRInput_003_GetPoseActionData_params params = { @@ -147,7 +140,7 @@ uint32_t __thiscall winIVRInput_IVRInput_003_GetPoseActionData(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_003_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eBoneParent, float fPredictedSecondsFromNow, winInputSkeletonActionData_t_1015 *pActionData, uint32_t unActionDataSize, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +uint32_t __thiscall winIVRInput_IVRInput_003_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eBoneParent, float fPredictedSecondsFromNow, w_InputSkeletonActionData_t *pActionData, uint32_t unActionDataSize, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { struct cppIVRInput_IVRInput_003_GetSkeletalActionData_params params = { @@ -243,7 +236,7 @@ uint32_t __thiscall winIVRInput_IVRInput_003_GetOriginLocalizedName(struct w_ste return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, winInputOriginInfo_t_1015 *pOriginInfo, uint32_t unOriginInfoSize) +uint32_t __thiscall winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { struct cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params params = { @@ -270,7 +263,7 @@ uint32_t __thiscall winIVRInput_IVRInput_003_ShowActionOrigins(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_003_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +uint32_t __thiscall winIVRInput_IVRInput_003_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1015 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) { struct cppIVRInput_IVRInput_003_ShowBindingsForActionSet_params params = { @@ -442,7 +435,7 @@ uint32_t __thiscall winIVRInput_IVRInput_004_GetInputSourceHandle(struct w_steam return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_004_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +uint32_t __thiscall winIVRInput_IVRInput_004_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { struct cppIVRInput_IVRInput_004_UpdateActionState_params params = { @@ -456,9 +449,9 @@ uint32_t __thiscall winIVRInput_IVRInput_004_UpdateActionState(struct w_steam_if return params._ret; } -extern uint32_t __thiscall winIVRInput_IVRInput_004_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, winInputDigitalActionData_t_1017 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); +extern uint32_t __thiscall winIVRInput_IVRInput_004_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); -uint32_t __thiscall winIVRInput_IVRInput_004_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, winInputAnalogActionData_t_1017 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_004_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_004_GetAnalogActionData_params params = { @@ -473,7 +466,7 @@ uint32_t __thiscall winIVRInput_IVRInput_004_GetAnalogActionData(struct w_steam_ return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_004_GetPoseActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1017 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_004_GetPoseActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_004_GetPoseActionData_params params = { @@ -490,7 +483,7 @@ uint32_t __thiscall winIVRInput_IVRInput_004_GetPoseActionData(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_004_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, winInputSkeletalActionData_t_1017 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_004_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_1016 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_004_GetSkeletalActionData_params params = { @@ -602,7 +595,7 @@ uint32_t __thiscall winIVRInput_IVRInput_004_GetOriginLocalizedName(struct w_ste return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, winInputOriginInfo_t_1017 *pOriginInfo, uint32_t unOriginInfoSize) +uint32_t __thiscall winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { struct cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params params = { @@ -629,7 +622,7 @@ uint32_t __thiscall winIVRInput_IVRInput_004_ShowActionOrigins(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_004_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +uint32_t __thiscall winIVRInput_IVRInput_004_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) { struct cppIVRInput_IVRInput_004_ShowBindingsForActionSet_params params = { @@ -810,7 +803,7 @@ uint32_t __thiscall winIVRInput_IVRInput_005_GetInputSourceHandle(struct w_steam return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_005_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +uint32_t __thiscall winIVRInput_IVRInput_005_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { struct cppIVRInput_IVRInput_005_UpdateActionState_params params = { @@ -824,9 +817,9 @@ uint32_t __thiscall winIVRInput_IVRInput_005_UpdateActionState(struct w_steam_if return params._ret; } -extern uint32_t __thiscall winIVRInput_IVRInput_005_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, winInputDigitalActionData_t_1322 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); +extern uint32_t __thiscall winIVRInput_IVRInput_005_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); -uint32_t __thiscall winIVRInput_IVRInput_005_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, winInputAnalogActionData_t_1322 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_005_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_005_GetAnalogActionData_params params = { @@ -841,7 +834,7 @@ uint32_t __thiscall winIVRInput_IVRInput_005_GetAnalogActionData(struct w_steam_ return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_005_GetPoseActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1322 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_005_GetPoseActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_005_GetPoseActionData_params params = { @@ -858,7 +851,7 @@ uint32_t __thiscall winIVRInput_IVRInput_005_GetPoseActionData(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_005_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, winInputSkeletalActionData_t_1322 *pActionData, uint32_t unActionDataSize) +uint32_t __thiscall winIVRInput_IVRInput_005_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_113b *pActionData, uint32_t unActionDataSize) { struct cppIVRInput_IVRInput_005_GetSkeletalActionData_params params = { @@ -1051,7 +1044,7 @@ uint32_t __thiscall winIVRInput_IVRInput_005_GetOriginLocalizedName(struct w_ste return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, winInputOriginInfo_t_1322 *pOriginInfo, uint32_t unOriginInfoSize) +uint32_t __thiscall winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { struct cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params params = { @@ -1078,7 +1071,7 @@ uint32_t __thiscall winIVRInput_IVRInput_005_ShowActionOrigins(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_005_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +uint32_t __thiscall winIVRInput_IVRInput_005_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) { struct cppIVRInput_IVRInput_005_ShowBindingsForActionSet_params params = { @@ -1285,7 +1278,7 @@ uint32_t __thiscall winIVRInput_IVRInput_006_GetInputSourceHandle(struct w_steam return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_006_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +uint32_t __thiscall winIVRInput_IVRInput_006_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { struct cppIVRInput_IVRInput_006_UpdateActionState_params params = { @@ -1299,9 +1292,9 @@ uint32_t __thiscall winIVRInput_IVRInput_006_UpdateActionState(struct w_steam_if return params._ret; } -extern uint32_t __thiscall winIVRInput_IVRInput_006_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, winInputDigitalActionData_t_1418 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); +extern uint32_t __thiscall winIVRInput_IVRInput_006_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); -uint32_t __thiscall winIVRInput_IVRInput_006_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, winInputAnalogActionData_t_1418 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_006_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_006_GetAnalogActionData_params params = { @@ -1316,7 +1309,7 @@ uint32_t __thiscall winIVRInput_IVRInput_006_GetAnalogActionData(struct w_steam_ return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1418 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params params = { @@ -1333,7 +1326,7 @@ uint32_t __thiscall winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(stru return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, winInputPoseActionData_t_1418 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params params = { @@ -1349,7 +1342,7 @@ uint32_t __thiscall winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(struc return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_006_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, winInputSkeletalActionData_t_1418 *pActionData, uint32_t unActionDataSize) +uint32_t __thiscall winIVRInput_IVRInput_006_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_113b *pActionData, uint32_t unActionDataSize) { struct cppIVRInput_IVRInput_006_GetSkeletalActionData_params params = { @@ -1543,7 +1536,7 @@ uint32_t __thiscall winIVRInput_IVRInput_006_GetOriginLocalizedName(struct w_ste return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, winInputOriginInfo_t_1418 *pOriginInfo, uint32_t unOriginInfoSize) +uint32_t __thiscall winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { struct cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params params = { @@ -1570,7 +1563,7 @@ uint32_t __thiscall winIVRInput_IVRInput_006_ShowActionOrigins(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_006_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +uint32_t __thiscall winIVRInput_IVRInput_006_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) { struct cppIVRInput_IVRInput_006_ShowBindingsForActionSet_params params = { @@ -1781,7 +1774,7 @@ uint32_t __thiscall winIVRInput_IVRInput_007_GetInputSourceHandle(struct w_steam return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_007_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +uint32_t __thiscall winIVRInput_IVRInput_007_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { struct cppIVRInput_IVRInput_007_UpdateActionState_params params = { @@ -1795,9 +1788,9 @@ uint32_t __thiscall winIVRInput_IVRInput_007_UpdateActionState(struct w_steam_if return params._ret; } -extern uint32_t __thiscall winIVRInput_IVRInput_007_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, winInputDigitalActionData_t_1916 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); +extern uint32_t __thiscall winIVRInput_IVRInput_007_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); -uint32_t __thiscall winIVRInput_IVRInput_007_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, winInputAnalogActionData_t_1916 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_007_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_007_GetAnalogActionData_params params = { @@ -1812,7 +1805,7 @@ uint32_t __thiscall winIVRInput_IVRInput_007_GetAnalogActionData(struct w_steam_ return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1916 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params params = { @@ -1829,7 +1822,7 @@ uint32_t __thiscall winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(stru return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, winInputPoseActionData_t_1916 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params params = { @@ -1845,7 +1838,7 @@ uint32_t __thiscall winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(struc return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_007_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, winInputSkeletalActionData_t_1916 *pActionData, uint32_t unActionDataSize) +uint32_t __thiscall winIVRInput_IVRInput_007_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_113b *pActionData, uint32_t unActionDataSize) { struct cppIVRInput_IVRInput_007_GetSkeletalActionData_params params = { @@ -2039,7 +2032,7 @@ uint32_t __thiscall winIVRInput_IVRInput_007_GetOriginLocalizedName(struct w_ste return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, winInputOriginInfo_t_1916 *pOriginInfo, uint32_t unOriginInfoSize) +uint32_t __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { struct cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params params = { @@ -2053,7 +2046,7 @@ uint32_t __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(struct w return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_007_GetActionBindingInfo(struct w_steam_iface *_this, uint64_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) +uint32_t __thiscall winIVRInput_IVRInput_007_GetActionBindingInfo(struct w_steam_iface *_this, uint64_t action, InputBindingInfo_t_1517 *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) { struct cppIVRInput_IVRInput_007_GetActionBindingInfo_params params = { @@ -2082,7 +2075,7 @@ uint32_t __thiscall winIVRInput_IVRInput_007_ShowActionOrigins(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_007_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +uint32_t __thiscall winIVRInput_IVRInput_007_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) { struct cppIVRInput_IVRInput_007_ShowBindingsForActionSet_params params = { @@ -2316,7 +2309,7 @@ uint32_t __thiscall winIVRInput_IVRInput_010_GetInputSourceHandle(struct w_steam return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_010_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +uint32_t __thiscall winIVRInput_IVRInput_010_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { struct cppIVRInput_IVRInput_010_UpdateActionState_params params = { @@ -2330,9 +2323,9 @@ uint32_t __thiscall winIVRInput_IVRInput_010_UpdateActionState(struct w_steam_if return params._ret; } -extern uint32_t __thiscall winIVRInput_IVRInput_010_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, winInputDigitalActionData_t_1267 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); +extern uint32_t __thiscall winIVRInput_IVRInput_010_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); -uint32_t __thiscall winIVRInput_IVRInput_010_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, winInputAnalogActionData_t_1267 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_010_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_010_GetAnalogActionData_params params = { @@ -2347,7 +2340,7 @@ uint32_t __thiscall winIVRInput_IVRInput_010_GetAnalogActionData(struct w_steam_ return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1267 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params params = { @@ -2364,7 +2357,7 @@ uint32_t __thiscall winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(stru return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, winInputPoseActionData_t_1267 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +uint32_t __thiscall winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) { struct cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params params = { @@ -2380,7 +2373,7 @@ uint32_t __thiscall winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(struc return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_010_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, winInputSkeletalActionData_t_1267 *pActionData, uint32_t unActionDataSize) +uint32_t __thiscall winIVRInput_IVRInput_010_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_113b *pActionData, uint32_t unActionDataSize) { struct cppIVRInput_IVRInput_010_GetSkeletalActionData_params params = { @@ -2598,7 +2591,7 @@ uint32_t __thiscall winIVRInput_IVRInput_010_GetOriginLocalizedName(struct w_ste return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, winInputOriginInfo_t_1267 *pOriginInfo, uint32_t unOriginInfoSize) +uint32_t __thiscall winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { struct cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params params = { @@ -2612,7 +2605,7 @@ uint32_t __thiscall winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(struct w return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_010_GetActionBindingInfo(struct w_steam_iface *_this, uint64_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) +uint32_t __thiscall winIVRInput_IVRInput_010_GetActionBindingInfo(struct w_steam_iface *_this, uint64_t action, InputBindingInfo_t_11030 *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) { struct cppIVRInput_IVRInput_010_GetActionBindingInfo_params params = { @@ -2641,7 +2634,7 @@ uint32_t __thiscall winIVRInput_IVRInput_010_ShowActionOrigins(struct w_steam_if return params._ret; } -uint32_t __thiscall winIVRInput_IVRInput_010_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +uint32_t __thiscall winIVRInput_IVRInput_010_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) { struct cppIVRInput_IVRInput_010_ShowBindingsForActionSet_params params = { @@ -2656,7 +2649,7 @@ uint32_t __thiscall winIVRInput_IVRInput_010_ShowBindingsForActionSet(struct w_s return params._ret; } -uint32_t __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) +uint32_t __thiscall winIVRInput_IVRInput_010_GetComponentStateForBinding(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const InputBindingInfo_t_11030 *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t *pComponentState) { struct cppIVRInput_IVRInput_010_GetComponentStateForBinding_params params = { diff --git a/vrclient_x64/vrclient_x64/winIVRMailbox.c b/vrclient_x64/vrclient_x64/winIVRMailbox.c index 5baff225..e728b3c0 100644 --- a/vrclient_x64/vrclient_x64/winIVRMailbox.c +++ b/vrclient_x64/vrclient_x64/winIVRMailbox.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRNotifications.c b/vrclient_x64/vrclient_x64/winIVRNotifications.c index 1c224ea4..343eecfe 100644 --- a/vrclient_x64/vrclient_x64/winIVRNotifications.c +++ b/vrclient_x64/vrclient_x64/winIVRNotifications.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); @@ -36,7 +29,7 @@ uint32_t __thiscall winIVRNotifications_IVRNotifications_001_GetErrorString(stru return params._ret; } -uint32_t __thiscall winIVRNotifications_IVRNotifications_001_CreateNotification(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulUserValue, const char *strType, const char *strText, const char *strCategory, const NotificationBitmap *photo, uint32_t *notificationId) +uint32_t __thiscall winIVRNotifications_IVRNotifications_001_CreateNotification(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulUserValue, const char *strType, const char *strText, const char *strCategory, const w_NotificationBitmap *photo, uint32_t *notificationId) { struct cppIVRNotifications_IVRNotifications_001_CreateNotification_params params = { @@ -126,7 +119,7 @@ void destroy_winIVRNotifications_IVRNotifications_001_FnTable(struct w_steam_ifa DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_CreateNotification, 40) DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_RemoveNotification, 8) -uint32_t __thiscall winIVRNotifications_IVRNotifications_002_CreateNotification(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulUserValue, uint32_t type, const char *pchText, uint32_t style, const NotificationBitmap_t *pImage, uint32_t *pNotificationId) +uint32_t __thiscall winIVRNotifications_IVRNotifications_002_CreateNotification(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulUserValue, uint32_t type, const char *pchText, uint32_t style, const w_NotificationBitmap_t *pImage, uint32_t *pNotificationId) { struct cppIVRNotifications_IVRNotifications_002_CreateNotification_params params = { diff --git a/vrclient_x64/vrclient_x64/winIVROverlay.c b/vrclient_x64/vrclient_x64/winIVROverlay.c index 283f97a7..f4bd4213 100644 --- a/vrclient_x64/vrclient_x64/winIVROverlay.c +++ b/vrclient_x64/vrclient_x64/winIVROverlay.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); @@ -396,7 +389,7 @@ bool __thiscall winIVROverlay_IVROverlay_001_IsOverlayVisible(struct w_steam_ifa return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_001_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_092 *pEvent) +bool __thiscall winIVROverlay_IVROverlay_001_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_092 *pEvent) { struct cppIVROverlay_IVROverlay_001_PollNextOverlayEvent_params params = { @@ -1085,7 +1078,7 @@ bool __thiscall winIVROverlay_IVROverlay_002_IsOverlayVisible(struct w_steam_ifa return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_002_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_094 *pEvent) +bool __thiscall winIVROverlay_IVROverlay_002_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_093 *pEvent) { struct cppIVROverlay_IVROverlay_002_PollNextOverlayEvent_params params = { @@ -1855,7 +1848,7 @@ bool __thiscall winIVROverlay_IVROverlay_003_IsOverlayVisible(struct w_steam_ifa return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_003_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_097 *pEvent) +bool __thiscall winIVROverlay_IVROverlay_003_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_097 *pEvent) { struct cppIVROverlay_IVROverlay_003_PollNextOverlayEvent_params params = { @@ -2674,7 +2667,7 @@ bool __thiscall winIVROverlay_IVROverlay_004_IsOverlayVisible(struct w_steam_ifa return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_004_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_098 *pEvent) +bool __thiscall winIVROverlay_IVROverlay_004_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_097 *pEvent) { struct cppIVROverlay_IVROverlay_004_PollNextOverlayEvent_params params = { @@ -3501,7 +3494,7 @@ bool __thiscall winIVROverlay_IVROverlay_005_IsOverlayVisible(struct w_steam_ifa return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_005_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_0910 *pEvent) +bool __thiscall winIVROverlay_IVROverlay_005_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0910 *pEvent) { struct cppIVROverlay_IVROverlay_005_PollNextOverlayEvent_params params = { @@ -4393,7 +4386,7 @@ bool __thiscall winIVROverlay_IVROverlay_007_IsOverlayVisible(struct w_steam_ifa return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_007_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_0912 *pEvent) +bool __thiscall winIVROverlay_IVROverlay_007_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0912 *pEvent) { struct cppIVROverlay_IVROverlay_007_PollNextOverlayEvent_params params = { @@ -4547,7 +4540,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(stru return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_007_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -5383,7 +5376,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_008_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_0914 *pEvent) +bool __thiscall winIVROverlay_IVROverlay_008_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0914 *pEvent) { struct cppIVROverlay_IVROverlay_008_PollNextOverlayEvent_params params = { @@ -5537,7 +5530,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(stru return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_008_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -6435,7 +6428,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_010_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_010_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0918 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_010_PollNextOverlayEvent_params params = { @@ -6590,7 +6583,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(stru return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_010_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -7534,7 +7527,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_011_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_0920 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_011_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0918 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_011_PollNextOverlayEvent_params params = { @@ -7689,7 +7682,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(stru return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_011_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -8674,7 +8667,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_012_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_101 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_012_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_101 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_012_PollNextOverlayEvent_params params = { @@ -8829,7 +8822,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(stru return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_012_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -9887,7 +9880,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_013_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_013_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_013_PollNextOverlayEvent_params params = { @@ -10042,7 +10035,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(stru return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_013_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -11127,7 +11120,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_014_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_106 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_014_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_014_PollNextOverlayEvent_params params = { @@ -11282,7 +11275,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(stru return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_014_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -12479,7 +12472,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_016_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1010 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_016_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_016_PollNextOverlayEvent_params params = { @@ -12634,7 +12627,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(stru return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_016_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -13855,7 +13848,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_017_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_017_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1011 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_017_PollNextOverlayEvent_params params = { @@ -14040,7 +14033,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(s return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_017_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -15264,7 +15257,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_018_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1017 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_018_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1016 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_018_PollNextOverlayEvent_params params = { @@ -15436,7 +15429,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(s return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_018_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -16658,7 +16651,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_019_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1610 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_019_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_019_PollNextOverlayEvent_params params = { @@ -16830,7 +16823,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(s return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_019_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -18027,7 +18020,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_020_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_020_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_020_PollNextOverlayEvent_params params = { @@ -18199,7 +18192,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(s return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_020_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -19386,7 +19379,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_021_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1819 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_021_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_021_PollNextOverlayEvent_params params = { @@ -19508,7 +19501,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(s return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_021_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -20732,7 +20725,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_022_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1916 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_022_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_022_PollNextOverlayEvent_params params = { @@ -20922,7 +20915,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverr return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_022_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -22096,7 +22089,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_024_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_11415 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_024_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_11030 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_024_PollNextOverlayEvent_params params = { @@ -22256,7 +22249,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverr return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_024_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -23439,7 +23432,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinat return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_025_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1168 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_025_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_025_PollNextOverlayEvent_params params = { @@ -23599,7 +23592,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverr return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_025_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -24825,7 +24818,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_026_WaitFrameSync(struct w_steam_if return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_026_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1237 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_026_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_026_PollNextOverlayEvent_params params = { @@ -24985,7 +24978,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverr return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_026_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { @@ -26187,7 +26180,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_027_WaitFrameSync(struct w_steam_if return params._ret; } -bool __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent) { struct cppIVROverlay_IVROverlay_027_PollNextOverlayEvent_params params = { @@ -26347,7 +26340,7 @@ uint32_t __thiscall winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverr return params._ret; } -extern uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const Texture_t *pTexture); +extern uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); uint32_t __thiscall winIVROverlay_IVROverlay_027_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) { diff --git a/vrclient_x64/vrclient_x64/winIVROverlayView.c b/vrclient_x64/vrclient_x64/winIVROverlayView.c index de8f7d36..2065f1a3 100644 --- a/vrclient_x64/vrclient_x64/winIVROverlayView.c +++ b/vrclient_x64/vrclient_x64/winIVROverlayView.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); @@ -23,7 +16,7 @@ DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_ReleaseOverlayView, DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_PostOverlayEvent, 16) DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_IsViewingPermitted, 12) -uint32_t __thiscall winIVROverlayView_IVROverlayView_003_AcquireOverlayView(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRNativeDevice_t *pNativeDevice, winVROverlayView_t_1267 *pOverlayView, uint32_t unOverlayViewSize) +uint32_t __thiscall winIVROverlayView_IVROverlayView_003_AcquireOverlayView(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VRNativeDevice_t *pNativeDevice, w_VROverlayView_t *pOverlayView, uint32_t unOverlayViewSize) { struct cppIVROverlayView_IVROverlayView_003_AcquireOverlayView_params params = { @@ -38,7 +31,7 @@ uint32_t __thiscall winIVROverlayView_IVROverlayView_003_AcquireOverlayView(stru return params._ret; } -uint32_t __thiscall winIVROverlayView_IVROverlayView_003_ReleaseOverlayView(struct w_steam_iface *_this, winVROverlayView_t_1267 *pOverlayView) +uint32_t __thiscall winIVROverlayView_IVROverlayView_003_ReleaseOverlayView(struct w_steam_iface *_this, w_VROverlayView_t *pOverlayView) { struct cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView_params params = { @@ -50,7 +43,7 @@ uint32_t __thiscall winIVROverlayView_IVROverlayView_003_ReleaseOverlayView(stru return params._ret; } -void __thiscall winIVROverlayView_IVROverlayView_003_PostOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VREvent_t *pvrEvent) +void __thiscall winIVROverlayView_IVROverlayView_003_PostOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_VREvent_t_1168 *pvrEvent) { struct cppIVROverlayView_IVROverlayView_003_PostOverlayEvent_params params = { diff --git a/vrclient_x64/vrclient_x64/winIVRRenderModels.c b/vrclient_x64/vrclient_x64/winIVRRenderModels.c index 5244096e..318b5336 100644 --- a/vrclient_x64/vrclient_x64/winIVRRenderModels.c +++ b/vrclient_x64/vrclient_x64/winIVRRenderModels.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); @@ -23,7 +16,7 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 16) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 4) -bool __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_0910 *pRenderModel) +bool __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_090 *pRenderModel) { struct cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel_params params = { @@ -36,7 +29,7 @@ bool __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(struct w_ return params._ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_001_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_0910 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_001_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_090 *pRenderModel) { struct cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel_params params = { @@ -144,7 +137,7 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentRende DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentState, 20) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_0915 **ppRenderModel) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_0912 **ppRenderModel) { struct cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel_params params = { @@ -157,7 +150,7 @@ bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(struct w_ return params._ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_0915 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel) { struct cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel_params params = { @@ -168,7 +161,7 @@ void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(struct w_ cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel( ¶ms ); } -bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(struct w_steam_iface *_this, int32_t textureId, winRenderModel_TextureMap_t_0915 **ppTexture) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(struct w_steam_iface *_this, int32_t textureId, w_RenderModel_TextureMap_t_090 **ppTexture) { struct cppIVRRenderModels_IVRRenderModels_002_LoadTexture_params params = { @@ -181,7 +174,7 @@ bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(struct w_stea return params._ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_0915 *pTexture) +void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture(struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture) { struct cppIVRRenderModels_IVRRenderModels_002_FreeTexture_params params = { @@ -272,7 +265,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentRenderMod 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 __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const w_VRControllerState001_t *pControllerState, RenderModel_ComponentState_t *pComponentState) { struct cppIVRRenderModels_IVRRenderModels_002_GetComponentState_params params = { @@ -390,7 +383,7 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentRende DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentState, 24) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 12) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_0918 **ppRenderModel) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_0912 **ppRenderModel) { struct cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params params = { @@ -403,7 +396,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async return params._ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_0918 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel) { struct cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel_params params = { @@ -414,7 +407,7 @@ void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(struct w_ cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel( ¶ms ); } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(struct w_steam_iface *_this, int32_t textureId, winRenderModel_TextureMap_t_0918 **ppTexture) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(struct w_steam_iface *_this, int32_t textureId, w_RenderModel_TextureMap_t_090 **ppTexture) { struct cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params params = { @@ -427,7 +420,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(str return params._ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_0918 *pTexture) +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture(struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture) { struct cppIVRRenderModels_IVRRenderModels_004_FreeTexture_params params = { @@ -522,7 +515,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentRenderMod 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 __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const w_VRControllerState001_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) { struct cppIVRRenderModels_IVRRenderModels_004_GetComponentState_params params = { @@ -649,7 +642,7 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThu DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 20) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 8) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_1015 **ppRenderModel) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_0912 **ppRenderModel) { struct cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params params = { @@ -662,7 +655,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async return params._ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_1015 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel) { struct cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel_params params = { @@ -673,7 +666,7 @@ void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(struct w_ cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel( ¶ms ); } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(struct w_steam_iface *_this, int32_t textureId, winRenderModel_TextureMap_t_1015 **ppTexture) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(struct w_steam_iface *_this, int32_t textureId, w_RenderModel_TextureMap_t_090 **ppTexture) { struct cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params params = { @@ -686,7 +679,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(str return params._ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_1015 *pTexture) +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture(struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture) { struct cppIVRRenderModels_IVRRenderModels_005_FreeTexture_params params = { @@ -783,7 +776,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentRenderMod 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 __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const w_VRControllerState001_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) { struct cppIVRRenderModels_IVRRenderModels_005_GetComponentState_params params = { @@ -961,7 +954,7 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelThu DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath, 20) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 8) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_1267 **ppRenderModel) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_0912 **ppRenderModel) { struct cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params params = { @@ -974,7 +967,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async return params._ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_1267 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel) { struct cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel_params params = { @@ -985,7 +978,7 @@ void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeRenderModel(struct w_ cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel( ¶ms ); } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(struct w_steam_iface *_this, int32_t textureId, winRenderModel_TextureMap_t_1267 **ppTexture) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(struct w_steam_iface *_this, int32_t textureId, w_RenderModel_TextureMap_t_1237 **ppTexture) { struct cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params params = { @@ -998,7 +991,7 @@ uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(str return params._ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_1267 *pTexture) +void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTexture(struct w_steam_iface *_this, w_RenderModel_TextureMap_t_1237 *pTexture) { struct cppIVRRenderModels_IVRRenderModels_006_FreeTexture_params params = { @@ -1111,7 +1104,7 @@ bool __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevic 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 __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const w_VRControllerState001_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) { struct cppIVRRenderModels_IVRRenderModels_006_GetComponentState_params params = { diff --git a/vrclient_x64/vrclient_x64/winIVRResources.c b/vrclient_x64/vrclient_x64/winIVRResources.c index 812ae925..48207828 100644 --- a/vrclient_x64/vrclient_x64/winIVRResources.c +++ b/vrclient_x64/vrclient_x64/winIVRResources.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRScreenshots.c b/vrclient_x64/vrclient_x64/winIVRScreenshots.c index 3d97ef84..f7da6faf 100644 --- a/vrclient_x64/vrclient_x64/winIVRScreenshots.c +++ b/vrclient_x64/vrclient_x64/winIVRScreenshots.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRSettings.c b/vrclient_x64/vrclient_x64/winIVRSettings.c index 3165216c..c98b7ee1 100644 --- a/vrclient_x64/vrclient_x64/winIVRSettings.c +++ b/vrclient_x64/vrclient_x64/winIVRSettings.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); diff --git a/vrclient_x64/vrclient_x64/winIVRSystem.c b/vrclient_x64/vrclient_x64/winIVRSystem.c index 6398399c..580358c7 100644 --- a/vrclient_x64/vrclient_x64/winIVRSystem.c +++ b/vrclient_x64/vrclient_x64/winIVRSystem.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); @@ -231,7 +224,7 @@ HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandin return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_091 *pRenderModel) +bool __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_090 *pRenderModel) { struct cppIVRSystem_IVRSystem_003_LoadRenderModel_params params = { @@ -244,7 +237,7 @@ bool __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(struct w_steam_iface return params._ret; } -void __thiscall winIVRSystem_IVRSystem_003_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_091 *pRenderModel) +void __thiscall winIVRSystem_IVRSystem_003_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_090 *pRenderModel) { struct cppIVRSystem_IVRSystem_003_FreeRenderModel_params params = { @@ -378,7 +371,7 @@ const char * __thiscall winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_091 *pEvent) +bool __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_090 *pEvent) { struct cppIVRSystem_IVRSystem_003_PollNextEvent_params params = { @@ -390,7 +383,7 @@ bool __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_003_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_091 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_003_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_090 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_003_PollNextEventWithPose_params params = { @@ -416,7 +409,7 @@ const char * __thiscall winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) { struct cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh_params params = { @@ -429,7 +422,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_003_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_091 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_003_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) { struct cppIVRSystem_IVRSystem_003_GetControllerState_params params = { @@ -442,7 +435,7 @@ bool __thiscall winIVRSystem_IVRSystem_003_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_003_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_091 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_003_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_003_GetControllerStateWithPose_params params = { @@ -1003,7 +996,7 @@ const char * __thiscall winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_092 *pEvent) +bool __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_092 *pEvent) { struct cppIVRSystem_IVRSystem_004_PollNextEvent_params params = { @@ -1015,7 +1008,7 @@ bool __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_004_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_092 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_004_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_092 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_004_PollNextEventWithPose_params params = { @@ -1041,7 +1034,7 @@ const char * __thiscall winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) { struct cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh_params params = { @@ -1054,7 +1047,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_004_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_092 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_004_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) { struct cppIVRSystem_IVRSystem_004_GetControllerState_params params = { @@ -1067,7 +1060,7 @@ bool __thiscall winIVRSystem_IVRSystem_004_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_004_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_092 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_004_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_004_GetControllerStateWithPose_params params = { @@ -1639,7 +1632,7 @@ const char * __thiscall winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_098 *pEvent) +bool __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_097 *pEvent) { struct cppIVRSystem_IVRSystem_005_PollNextEvent_params params = { @@ -1651,7 +1644,7 @@ bool __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_005_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_098 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_005_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_097 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_005_PollNextEventWithPose_params params = { @@ -1677,7 +1670,7 @@ const char * __thiscall winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) { struct cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh_params params = { @@ -1690,7 +1683,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_005_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_098 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_005_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) { struct cppIVRSystem_IVRSystem_005_GetControllerState_params params = { @@ -1703,7 +1696,7 @@ bool __thiscall winIVRSystem_IVRSystem_005_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_005_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_098 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_005_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_005_GetControllerStateWithPose_params params = { @@ -2306,7 +2299,7 @@ const char * __thiscall winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_0910 *pEvent) +bool __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_0910 *pEvent) { struct cppIVRSystem_IVRSystem_006_PollNextEvent_params params = { @@ -2318,7 +2311,7 @@ bool __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_006_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_0910 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_006_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_0910 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_006_PollNextEventWithPose_params params = { @@ -2344,7 +2337,7 @@ const char * __thiscall winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) { struct cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh_params params = { @@ -2357,7 +2350,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_006_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_0910 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_006_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) { struct cppIVRSystem_IVRSystem_006_GetControllerState_params params = { @@ -2370,7 +2363,7 @@ bool __thiscall winIVRSystem_IVRSystem_006_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_006_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_0910 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_006_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_006_GetControllerStateWithPose_params params = { @@ -3013,7 +3006,7 @@ const char * __thiscall winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_0912 *pEvent) +bool __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_0912 *pEvent) { struct cppIVRSystem_IVRSystem_009_PollNextEvent_params params = { @@ -3025,7 +3018,7 @@ bool __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_009_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_0912 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_009_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_0912 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_009_PollNextEventWithPose_params params = { @@ -3051,7 +3044,7 @@ const char * __thiscall winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) { struct cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh_params params = { @@ -3064,7 +3057,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_009_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_0912 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_009_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) { struct cppIVRSystem_IVRSystem_009_GetControllerState_params params = { @@ -3077,7 +3070,7 @@ bool __thiscall winIVRSystem_IVRSystem_009_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_009_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_0912 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_009_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_009_GetControllerStateWithPose_params params = { @@ -3745,7 +3738,7 @@ const char * __thiscall winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_0914 *pEvent) +bool __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_0914 *pEvent) { struct cppIVRSystem_IVRSystem_010_PollNextEvent_params params = { @@ -3757,7 +3750,7 @@ bool __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_010_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_0914 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_010_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_0914 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_010_PollNextEventWithPose_params params = { @@ -3783,7 +3776,7 @@ const char * __thiscall winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) { struct cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh_params params = { @@ -3796,7 +3789,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_010_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_0914 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_010_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) { struct cppIVRSystem_IVRSystem_010_GetControllerState_params params = { @@ -3809,7 +3802,7 @@ bool __thiscall winIVRSystem_IVRSystem_010_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_010_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_0914 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_010_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_010_GetControllerStateWithPose_params params = { @@ -4507,7 +4500,7 @@ const char * __thiscall winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_0918 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_011_PollNextEvent_params params = { @@ -4520,7 +4513,7 @@ bool __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_011_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_011_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_0918 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_011_PollNextEventWithPose_params params = { @@ -4547,7 +4540,7 @@ const char * __thiscall winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) { struct cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh_params params = { @@ -4560,7 +4553,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_011_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_0918 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_011_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) { struct cppIVRSystem_IVRSystem_011_GetControllerState_params params = { @@ -4573,7 +4566,7 @@ bool __thiscall winIVRSystem_IVRSystem_011_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_011_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_0918 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_011_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_011_GetControllerStateWithPose_params params = { @@ -5269,7 +5262,7 @@ const char * __thiscall winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_103 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_012_PollNextEvent_params params = { @@ -5282,7 +5275,7 @@ bool __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_012_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_103 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_012_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_012_PollNextEventWithPose_params params = { @@ -5309,7 +5302,7 @@ const char * __thiscall winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) { struct cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh_params params = { @@ -5322,7 +5315,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_012_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_103 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_012_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) { struct cppIVRSystem_IVRSystem_012_GetControllerState_params params = { @@ -5335,7 +5328,7 @@ bool __thiscall winIVRSystem_IVRSystem_012_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_012_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_103 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_012_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_012_GetControllerStateWithPose_params params = { @@ -6005,7 +5998,7 @@ const char * __thiscall winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_014_PollNextEvent_params params = { @@ -6018,7 +6011,7 @@ bool __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_014_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_104 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_014_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_014_PollNextEventWithPose_params params = { @@ -6045,7 +6038,7 @@ const char * __thiscall winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) { struct cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh_params params = { @@ -6059,7 +6052,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_014_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_104 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_014_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) { struct cppIVRSystem_IVRSystem_014_GetControllerState_params params = { @@ -6073,7 +6066,7 @@ bool __thiscall winIVRSystem_IVRSystem_014_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_014_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_104 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_014_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_014_GetControllerStateWithPose_params params = { @@ -6743,7 +6736,7 @@ const char * __thiscall winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_107 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_015_PollNextEvent_params params = { @@ -6756,7 +6749,7 @@ bool __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_015_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_107 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_015_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_015_PollNextEventWithPose_params params = { @@ -6783,7 +6776,7 @@ const char * __thiscall winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) { struct cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh_params params = { @@ -6797,7 +6790,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_015_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_107 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_015_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) { struct cppIVRSystem_IVRSystem_015_GetControllerState_params params = { @@ -6811,7 +6804,7 @@ bool __thiscall winIVRSystem_IVRSystem_015_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_015_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_107 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_015_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_015_GetControllerStateWithPose_params params = { @@ -7494,7 +7487,7 @@ const char * __thiscall winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_109 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_016_PollNextEvent_params params = { @@ -7507,7 +7500,7 @@ bool __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_016_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_109 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_016_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_016_PollNextEventWithPose_params params = { @@ -7534,7 +7527,7 @@ const char * __thiscall winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) { struct cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh_params params = { @@ -7548,7 +7541,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_016_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_109 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_016_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) { struct cppIVRSystem_IVRSystem_016_GetControllerState_params params = { @@ -7562,7 +7555,7 @@ bool __thiscall winIVRSystem_IVRSystem_016_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_016_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_109 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_016_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_016_GetControllerStateWithPose_params params = { @@ -8237,7 +8230,7 @@ const char * __thiscall winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_1011 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_017_PollNextEvent_params params = { @@ -8250,7 +8243,7 @@ bool __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_017_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_017_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_1011 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_017_PollNextEventWithPose_params params = { @@ -8277,7 +8270,7 @@ const char * __thiscall winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) { struct cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh_params params = { @@ -8291,7 +8284,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_017_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1011 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_017_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) { struct cppIVRSystem_IVRSystem_017_GetControllerState_params params = { @@ -8305,7 +8298,7 @@ bool __thiscall winIVRSystem_IVRSystem_017_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_017_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1011 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_017_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_017_GetControllerStateWithPose_params params = { @@ -8999,7 +8992,7 @@ const char * __thiscall winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1418 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_019_PollNextEvent_params params = { @@ -9012,7 +9005,7 @@ bool __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_019_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_1418 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_019_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_019_PollNextEventWithPose_params params = { @@ -9039,7 +9032,7 @@ const char * __thiscall winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) { struct cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh_params params = { @@ -9053,7 +9046,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_019_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1418 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_019_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) { struct cppIVRSystem_IVRSystem_019_GetControllerState_params params = { @@ -9067,7 +9060,7 @@ bool __thiscall winIVRSystem_IVRSystem_019_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_019_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1418 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_019_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_019_GetControllerStateWithPose_params params = { @@ -9778,7 +9771,7 @@ const char * __thiscall winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_020_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_020_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_020_PollNextEvent_params params = { @@ -9791,7 +9784,7 @@ bool __thiscall winIVRSystem_IVRSystem_020_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_020_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_020_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_020_PollNextEventWithPose_params params = { @@ -9818,7 +9811,7 @@ const char * __thiscall winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_020_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_020_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) { struct cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh_params params = { @@ -9832,7 +9825,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_020_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_020_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1715 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_020_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) { struct cppIVRSystem_IVRSystem_020_GetControllerState_params params = { @@ -9846,7 +9839,7 @@ bool __thiscall winIVRSystem_IVRSystem_020_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_020_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1715 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_020_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_020_GetControllerStateWithPose_params params = { @@ -10567,7 +10560,7 @@ const char * __thiscall winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1125 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_11030 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_021_PollNextEvent_params params = { @@ -10580,7 +10573,7 @@ bool __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_021_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_1125 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_021_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_11030 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_021_PollNextEventWithPose_params params = { @@ -10607,7 +10600,7 @@ const char * __thiscall winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) { struct cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh_params params = { @@ -10621,7 +10614,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_021_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1125 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_021_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) { struct cppIVRSystem_IVRSystem_021_GetControllerState_params params = { @@ -10635,7 +10628,7 @@ bool __thiscall winIVRSystem_IVRSystem_021_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_021_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1125 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_021_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_021_GetControllerStateWithPose_params params = { @@ -11333,7 +11326,7 @@ const char * __thiscall winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(stru return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent) { struct cppIVRSystem_IVRSystem_022_PollNextEvent_params params = { @@ -11346,7 +11339,7 @@ bool __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(struct w_steam_iface *_ return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_022_PollNextEventWithPose_params params = { @@ -11373,7 +11366,7 @@ const char * __thiscall winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(stru return params._ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) { struct cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh_params params = { @@ -11387,7 +11380,7 @@ HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(struc return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_022_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1267 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_022_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) { struct cppIVRSystem_IVRSystem_022_GetControllerState_params params = { @@ -11401,7 +11394,7 @@ bool __thiscall winIVRSystem_IVRSystem_022_GetControllerState(struct w_steam_ifa return params._ret; } -bool __thiscall winIVRSystem_IVRSystem_022_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, winVRControllerState001_t_1267 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_022_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { struct cppIVRSystem_IVRSystem_022_GetControllerStateWithPose_params params = { diff --git a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c b/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c index 8da9d2c1..8ddd3dd9 100644 --- a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c +++ b/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c @@ -2,16 +2,9 @@ #include #include -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" - +#include "vrclient_structs.h" #include "vrclient_private.h" -#include "struct_converters.h" - #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); @@ -164,7 +157,7 @@ float __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedT return params._ret; } -const CameraVideoStreamFrame_t * __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(struct w_steam_iface *_this, uint32_t nDeviceIndex) +const w_CameraVideoStreamFrame_t_0914 * __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(struct w_steam_iface *_this, uint32_t nDeviceIndex) { struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params params = { @@ -176,7 +169,7 @@ const CameraVideoStreamFrame_t * __thiscall winIVRTrackedCamera_IVRTrackedCamera return params._ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(struct w_steam_iface *_this, uint32_t nDeviceIndex, const CameraVideoStreamFrame_t *pFrameImage) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(struct w_steam_iface *_this, uint32_t nDeviceIndex, const w_CameraVideoStreamFrame_t_0914 *pFrameImage) { struct cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params params = { @@ -464,7 +457,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreami return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, void *hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, void *hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params params = { @@ -658,7 +651,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreami return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params params = { @@ -691,7 +684,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextu return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params params = { @@ -708,7 +701,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextu return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params params = { @@ -922,7 +915,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreami return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params params = { @@ -955,7 +948,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextu return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params params = { @@ -972,7 +965,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextu return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params params = { @@ -1188,7 +1181,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreami return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params params = { @@ -1221,7 +1214,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextu return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params params = { @@ -1238,7 +1231,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextu return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params params = { @@ -1456,7 +1449,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreami return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params params = { @@ -1489,7 +1482,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextu return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params params = { @@ -1506,7 +1499,7 @@ uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextu return params._ret; } -uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params params = {