diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index 0098b773..5d3a41a5 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -456,6 +456,7 @@ def handle_method(cfile, classname, winclassname, cppname, method, cpp, cpp_h, e cfile.write(" TRACE(\"%p\\n\", _this);\n") if do_win_to_lin: + #XXX we should pass the struct size here cpp.write(" if(%s)\n" % do_win_to_lin[1]) cpp.write(" struct_%s_%s_win_to_lin(%s, &lin);\n" % (strip_ns(do_win_to_lin[0]), display_sdkver(sdkver), do_win_to_lin[1])) @@ -497,6 +498,7 @@ def handle_method(cfile, classname, winclassname, cppname, method, cpp, cpp_h, e unnamed = 'a' first = True next_is_size = False + convert_size_param = "" for param in get_params(method): if not first: cpp.write(", ") @@ -527,8 +529,10 @@ def handle_method(cfile, classname, winclassname, cppname, method, cpp, cpp_h, e next_is_size = False if param.type.spelling == "uint32_t": cpp.write("%s ? sizeof(lin) : 0" % param.spelling) + convert_size_param = ", " + param.spelling else: cpp.write("(%s)%s" % (param.type.spelling, param.spelling)) + convert_size_param = ", -1" elif "&" in param.type.spelling: cfile.write(", %s" % param.spelling) cpp.write("*%s" % param.spelling) @@ -560,8 +564,10 @@ def handle_method(cfile, classname, winclassname, cppname, method, cpp, cpp_h, e if path_conv["w2l_arrays"][i]: cfile.write(" vrclient_free_stringlist(lin_%s);\n" % path_conv["w2l_names"][i]) if do_lin_to_win: + if next_is_size and not convert_size_param: + convert_size_param = ", -1" cpp.write(" if(%s)\n" % do_lin_to_win[1]) - cpp.write(" struct_%s_%s_lin_to_win(&lin, %s);\n" % (strip_ns(do_lin_to_win[0]), display_sdkver(sdkver), do_lin_to_win[1])) + cpp.write(" struct_%s_%s_lin_to_win(&lin, %s%s);\n" % (strip_ns(do_lin_to_win[0]), display_sdkver(sdkver), do_lin_to_win[1], convert_size_param)) if do_lin_to_win or do_win_to_lin: cpp.write(" return _ret;\n") if do_wrap: @@ -849,7 +855,7 @@ def handle_struct(sdkver, struct): which.add(LIN_TO_WIN) which.add(WIN_TO_LIN) - if strip_ns(vrchild.displayname) in system_structs: + if strip_ns(struct.displayname) in system_structs: which.add(WRAPPERS) if len(which) == 0: @@ -895,7 +901,7 @@ def handle_struct(sdkver, struct): cppfile.write("} __attribute__ ((ms_struct));\n") cppfile.write("#pragma pack(pop)\n\n") - def dump_converter(src, dst): + def dump_converter(src, dst, size): for m in struct.get_children(): if m.kind == clang.cindex.CursorKind.FIELD_DECL: if m.type.get_canonical().kind == clang.cindex.TypeKind.CONSTANTARRAY: @@ -909,23 +915,35 @@ def handle_struct(sdkver, struct): elif struct.displayname in struct_size_fields and \ m.displayname in struct_size_fields[struct.displayname]: cppfile.write(" " + dst + "->" + m.displayname + " = sizeof(*" + dst + ");\n") + elif size and strip_ns(m.type.get_canonical().spelling) == "VREvent_Data_t": + #truncate variable-length data struct at the end of the parent struct + #XXX: dumb hard-coding. are the other types with lengths variable length? + cppfile.write(" memcpy(&" + dst + "->data, &" + src + "->data, " + size + " - (((char*)&" + dst + "->data) - ((char*)" + dst + ")));\n") else: cppfile.write(" " + dst + "->" + m.displayname + " = " + src + "->" + m.displayname + ";\n") + if strip_ns(struct.displayname) in next_is_size_structs: + size_arg = "sz" + size_arg_type = ", uint32_t sz" + else: + size_arg = None + size_arg_type = "" + if LIN_TO_WIN in which: - hfile.write("extern void struct_%s_lin_to_win(void *l, void *w);\n" % handler_name) - cppfile.write("void struct_%s_lin_to_win(void *l, void *w)\n{\n" % handler_name) + hfile.write("extern void struct_%s_lin_to_win(void *l, void *w%s);\n" % (handler_name, size_arg_type)) + cppfile.write("void struct_%s_lin_to_win(void *l, void *w%s)\n{\n" % (handler_name, size_arg_type)) cppfile.write(" struct win%s *win = (struct win%s *)w;\n" % (handler_name, handler_name)) cppfile.write(" %s *lin = (%s *)l;\n" % (struct.displayname, struct.displayname)) - dump_converter("lin", "win") + dump_converter("lin", "win", size_arg) cppfile.write("}\n\n") if WIN_TO_LIN in which: + #XXX: should pass size param here, too hfile.write("extern void struct_%s_win_to_lin(void *w, void *l);\n" % handler_name) cppfile.write("void struct_%s_win_to_lin(void *w, void *l)\n{\n" % handler_name) cppfile.write(" struct win%s *win = (struct win%s *)w;\n" % (handler_name, handler_name)) cppfile.write(" %s *lin = (%s *)l;\n" % (struct.displayname, struct.displayname)) - dump_converter("win", "lin") + dump_converter("win", "lin", None) cppfile.write("}\n\n") if WRAPPERS in which: @@ -935,7 +953,7 @@ def handle_struct(sdkver, struct): cppfile.write(" struct win%s *win = (struct win%s *)malloc(sizeof(*win));\n" % (handler_name, handler_name)) cppfile.write(" %s *lin = (%s *)l;\n" % (struct.displayname, struct.displayname)) - dump_converter("lin", "win") + dump_converter("lin", "win", None) cppfile.write(" win->linux_side = lin;\n"); cppfile.write(" return win;\n") diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp index 31bff672..29eaa73f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp @@ -42,7 +42,7 @@ vr::EVRInputError cppIVRInput_IVRInput_003_GetDigitalActionData(void *linux_side struct_InputDigitalActionData_t_1015_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); if(pActionData) - struct_InputDigitalActionData_t_1015_lin_to_win(&lin, pActionData); + struct_InputDigitalActionData_t_1015_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -54,7 +54,7 @@ vr::EVRInputError cppIVRInput_IVRInput_003_GetAnalogActionData(void *linux_side, struct_InputAnalogActionData_t_1015_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); if(pActionData) - struct_InputAnalogActionData_t_1015_lin_to_win(&lin, pActionData); + struct_InputAnalogActionData_t_1015_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -66,7 +66,7 @@ vr::EVRInputError cppIVRInput_IVRInput_003_GetPoseActionData(void *linux_side, V struct_InputPoseActionData_t_1015_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetPoseActionData((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); if(pActionData) - struct_InputPoseActionData_t_1015_lin_to_win(&lin, pActionData); + struct_InputPoseActionData_t_1015_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp index 01f0c1da..f400600e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp @@ -42,7 +42,7 @@ vr::EVRInputError cppIVRInput_IVRInput_004_GetDigitalActionData(void *linux_side struct_InputDigitalActionData_t_1017_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputDigitalActionData_t_1017_lin_to_win(&lin, pActionData); + struct_InputDigitalActionData_t_1017_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -54,7 +54,7 @@ vr::EVRInputError cppIVRInput_IVRInput_004_GetAnalogActionData(void *linux_side, struct_InputAnalogActionData_t_1017_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputAnalogActionData_t_1017_lin_to_win(&lin, pActionData); + struct_InputAnalogActionData_t_1017_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -66,7 +66,7 @@ vr::EVRInputError cppIVRInput_IVRInput_004_GetPoseActionData(void *linux_side, V struct_InputPoseActionData_t_1017_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetPoseActionData((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputPoseActionData_t_1017_lin_to_win(&lin, pActionData); + struct_InputPoseActionData_t_1017_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -78,7 +78,7 @@ vr::EVRInputError cppIVRInput_IVRInput_004_GetSkeletalActionData(void *linux_sid struct_InputSkeletalActionData_t_1017_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputSkeletalActionData_t_1017_lin_to_win(&lin, pActionData); + struct_InputSkeletalActionData_t_1017_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp index ef8a4873..0ac52cb2 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp @@ -42,7 +42,7 @@ vr::EVRInputError cppIVRInput_IVRInput_005_GetDigitalActionData(void *linux_side struct_InputDigitalActionData_t_1322_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputDigitalActionData_t_1322_lin_to_win(&lin, pActionData); + struct_InputDigitalActionData_t_1322_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -54,7 +54,7 @@ vr::EVRInputError cppIVRInput_IVRInput_005_GetAnalogActionData(void *linux_side, struct_InputAnalogActionData_t_1322_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputAnalogActionData_t_1322_lin_to_win(&lin, pActionData); + struct_InputAnalogActionData_t_1322_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -66,7 +66,7 @@ vr::EVRInputError cppIVRInput_IVRInput_005_GetPoseActionData(void *linux_side, V struct_InputPoseActionData_t_1322_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetPoseActionData((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputPoseActionData_t_1322_lin_to_win(&lin, pActionData); + struct_InputPoseActionData_t_1322_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -78,7 +78,7 @@ vr::EVRInputError cppIVRInput_IVRInput_005_GetSkeletalActionData(void *linux_sid struct_InputSkeletalActionData_t_1322_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); if(pActionData) - struct_InputSkeletalActionData_t_1322_lin_to_win(&lin, pActionData); + struct_InputSkeletalActionData_t_1322_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp index 3471dc95..b8020e38 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp @@ -42,7 +42,7 @@ vr::EVRInputError cppIVRInput_IVRInput_006_GetDigitalActionData(void *linux_side struct_InputDigitalActionData_t_1418_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputDigitalActionData_t_1418_lin_to_win(&lin, pActionData); + struct_InputDigitalActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -54,7 +54,7 @@ vr::EVRInputError cppIVRInput_IVRInput_006_GetAnalogActionData(void *linux_side, struct_InputAnalogActionData_t_1418_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputAnalogActionData_t_1418_lin_to_win(&lin, pActionData); + struct_InputAnalogActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -66,7 +66,7 @@ vr::EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(void * struct_InputPoseActionData_t_1418_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputPoseActionData_t_1418_lin_to_win(&lin, pActionData); + struct_InputPoseActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -78,7 +78,7 @@ vr::EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(void *l struct_InputPoseActionData_t_1418_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputPoseActionData_t_1418_lin_to_win(&lin, pActionData); + struct_InputPoseActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -90,7 +90,7 @@ vr::EVRInputError cppIVRInput_IVRInput_006_GetSkeletalActionData(void *linux_sid struct_InputSkeletalActionData_t_1418_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); if(pActionData) - struct_InputSkeletalActionData_t_1418_lin_to_win(&lin, pActionData); + struct_InputSkeletalActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp index 055bac71..05eb8add 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp @@ -42,7 +42,7 @@ vr::EVRInputError cppIVRInput_IVRInput_007_GetDigitalActionData(void *linux_side struct_InputDigitalActionData_t_1610_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputDigitalActionData_t_1610_lin_to_win(&lin, pActionData); + struct_InputDigitalActionData_t_1610_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -54,7 +54,7 @@ vr::EVRInputError cppIVRInput_IVRInput_007_GetAnalogActionData(void *linux_side, struct_InputAnalogActionData_t_1610_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputAnalogActionData_t_1610_lin_to_win(&lin, pActionData); + struct_InputAnalogActionData_t_1610_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -66,7 +66,7 @@ vr::EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(void * struct_InputPoseActionData_t_1610_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputPoseActionData_t_1610_lin_to_win(&lin, pActionData); + struct_InputPoseActionData_t_1610_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -78,7 +78,7 @@ vr::EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(void *l struct_InputPoseActionData_t_1610_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); if(pActionData) - struct_InputPoseActionData_t_1610_lin_to_win(&lin, pActionData); + struct_InputPoseActionData_t_1610_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } @@ -90,7 +90,7 @@ vr::EVRInputError cppIVRInput_IVRInput_007_GetSkeletalActionData(void *linux_sid struct_InputSkeletalActionData_t_1610_win_to_lin(pActionData, &lin); _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); if(pActionData) - struct_InputSkeletalActionData_t_1610_lin_to_win(&lin, pActionData); + struct_InputSkeletalActionData_t_1610_lin_to_win(&lin, pActionData, unActionDataSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp index 7d35335a..119e4be2 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp @@ -187,7 +187,7 @@ bool cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(void *linux_side, VROverl struct_VREvent_t_0918_win_to_lin(pEvent, &lin); _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_0918_lin_to_win(&lin, pEvent); + struct_VREvent_t_0918_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp index 0b627d15..b3fbc279 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp @@ -197,7 +197,7 @@ bool cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(void *linux_side, VROverl struct_VREvent_t_0920_win_to_lin(pEvent, &lin); _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_0920_lin_to_win(&lin, pEvent); + struct_VREvent_t_0920_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp index 9b60e3d7..a87ac79d 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp @@ -197,7 +197,7 @@ bool cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(void *linux_side, VROverl struct_VREvent_t_101_win_to_lin(pEvent, &lin); _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_101_lin_to_win(&lin, pEvent); + struct_VREvent_t_101_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp index 837d02a4..316f8788 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp @@ -217,7 +217,7 @@ bool cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(void *linux_side, VROverl struct_VREvent_t_104_win_to_lin(pEvent, &lin); _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_104_lin_to_win(&lin, pEvent); + struct_VREvent_t_104_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp index 19b07514..a5c1e6fd 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp @@ -217,7 +217,7 @@ bool cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(void *linux_side, VROverl struct_VREvent_t_106_win_to_lin(pEvent, &lin); _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_106_lin_to_win(&lin, pEvent); + struct_VREvent_t_106_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp index eff884a9..ccd11a10 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp @@ -242,7 +242,7 @@ bool cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(void *linux_side, VROverl struct_VREvent_t_1010_win_to_lin(pEvent, &lin); _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_1010_lin_to_win(&lin, pEvent); + struct_VREvent_t_1010_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp index 11613550..c8f93793 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp @@ -242,7 +242,7 @@ bool cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(void *linux_side, VROverl struct_VREvent_t_1011_win_to_lin(pEvent, &lin); _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_1011_lin_to_win(&lin, pEvent); + struct_VREvent_t_1011_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp index 085a0f2d..50f6a322 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp @@ -242,7 +242,7 @@ bool cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(void *linux_side, VROverl struct_VREvent_t_1017_win_to_lin(pEvent, &lin); _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_1017_lin_to_win(&lin, pEvent); + struct_VREvent_t_1017_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp index f776e508..e4de548e 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp @@ -242,7 +242,7 @@ bool cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(void *linux_side, VROverl struct_VREvent_t_1610_win_to_lin(pEvent, &lin); _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_1610_lin_to_win(&lin, pEvent); + struct_VREvent_t_1610_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp index 7f57f777..a39f85f3 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp @@ -162,7 +162,7 @@ bool cppIVRSystem_IVRSystem_003_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_091_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); if(pControllerState) - struct_VRControllerState001_t_091_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_091_lin_to_win(&lin, pControllerState, -1); return _ret; } @@ -174,7 +174,7 @@ bool cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(void *linux_side, Tra struct_VRControllerState001_t_091_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_091_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_091_lin_to_win(&lin, pControllerState, -1); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp index e58e048b..a3b502e1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp @@ -152,7 +152,7 @@ bool cppIVRSystem_IVRSystem_004_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_092_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); if(pControllerState) - struct_VRControllerState001_t_092_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_092_lin_to_win(&lin, pControllerState, -1); return _ret; } @@ -164,7 +164,7 @@ bool cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(void *linux_side, Tra struct_VRControllerState001_t_092_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_092_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_092_lin_to_win(&lin, pControllerState, -1); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp index 9c11bae9..3fbc66b3 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp @@ -157,7 +157,7 @@ bool cppIVRSystem_IVRSystem_005_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_098_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); if(pControllerState) - struct_VRControllerState001_t_098_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_098_lin_to_win(&lin, pControllerState, -1); return _ret; } @@ -169,7 +169,7 @@ bool cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(void *linux_side, Tra struct_VRControllerState001_t_098_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_098_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_098_lin_to_win(&lin, pControllerState, -1); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp index 827b4e64..11ce07b5 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp @@ -167,7 +167,7 @@ bool cppIVRSystem_IVRSystem_006_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_0910_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); if(pControllerState) - struct_VRControllerState001_t_0910_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_0910_lin_to_win(&lin, pControllerState, -1); return _ret; } @@ -179,7 +179,7 @@ bool cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(void *linux_side, Tra struct_VRControllerState001_t_0910_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_0910_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_0910_lin_to_win(&lin, pControllerState, -1); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp index 3dccf083..ceac4ee0 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp @@ -167,7 +167,7 @@ bool cppIVRSystem_IVRSystem_009_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_0912_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); if(pControllerState) - struct_VRControllerState001_t_0912_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_0912_lin_to_win(&lin, pControllerState, -1); return _ret; } @@ -179,7 +179,7 @@ bool cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_0912_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_0912_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_0912_lin_to_win(&lin, pControllerState, -1); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp index 4b3c1a37..085406e0 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp @@ -177,7 +177,7 @@ bool cppIVRSystem_IVRSystem_010_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_0914_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); if(pControllerState) - struct_VRControllerState001_t_0914_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_0914_lin_to_win(&lin, pControllerState, -1); return _ret; } @@ -189,7 +189,7 @@ bool cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_0914_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_0914_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_0914_lin_to_win(&lin, pControllerState, -1); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp index a18a6d33..f57c53b2 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp @@ -157,7 +157,7 @@ bool cppIVRSystem_IVRSystem_011_PollNextEvent(void *linux_side, winVREvent_t_091 struct_VREvent_t_0918_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_0918_lin_to_win(&lin, pEvent); + struct_VREvent_t_0918_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -169,7 +169,7 @@ bool cppIVRSystem_IVRSystem_011_PollNextEventWithPose(void *linux_side, ETrackin struct_VREvent_t_0918_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pEvent) - struct_VREvent_t_0918_lin_to_win(&lin, pEvent); + struct_VREvent_t_0918_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -191,7 +191,7 @@ bool cppIVRSystem_IVRSystem_011_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_0918_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); if(pControllerState) - struct_VRControllerState001_t_0918_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_0918_lin_to_win(&lin, pControllerState, -1); return _ret; } @@ -203,7 +203,7 @@ bool cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_0918_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_0918_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_0918_lin_to_win(&lin, pControllerState, -1); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp index 6992c020..8f102405 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp @@ -157,7 +157,7 @@ bool cppIVRSystem_IVRSystem_012_PollNextEvent(void *linux_side, winVREvent_t_103 struct_VREvent_t_103_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_103_lin_to_win(&lin, pEvent); + struct_VREvent_t_103_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -169,7 +169,7 @@ bool cppIVRSystem_IVRSystem_012_PollNextEventWithPose(void *linux_side, ETrackin struct_VREvent_t_103_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pEvent) - struct_VREvent_t_103_lin_to_win(&lin, pEvent); + struct_VREvent_t_103_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -191,7 +191,7 @@ bool cppIVRSystem_IVRSystem_012_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_103_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); if(pControllerState) - struct_VRControllerState001_t_103_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_103_lin_to_win(&lin, pControllerState, -1); return _ret; } @@ -203,7 +203,7 @@ bool cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_103_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_103_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_103_lin_to_win(&lin, pControllerState, -1); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp index c8233303..b144a2d4 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp @@ -157,7 +157,7 @@ bool cppIVRSystem_IVRSystem_014_PollNextEvent(void *linux_side, winVREvent_t_104 struct_VREvent_t_104_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_104_lin_to_win(&lin, pEvent); + struct_VREvent_t_104_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -169,7 +169,7 @@ bool cppIVRSystem_IVRSystem_014_PollNextEventWithPose(void *linux_side, ETrackin struct_VREvent_t_104_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pEvent) - struct_VREvent_t_104_lin_to_win(&lin, pEvent); + struct_VREvent_t_104_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -191,7 +191,7 @@ bool cppIVRSystem_IVRSystem_014_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_104_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); if(pControllerState) - struct_VRControllerState001_t_104_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_104_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } @@ -203,7 +203,7 @@ bool cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_104_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_104_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_104_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp index 86eec2b2..f9ef4168 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp @@ -157,7 +157,7 @@ bool cppIVRSystem_IVRSystem_015_PollNextEvent(void *linux_side, winVREvent_t_107 struct_VREvent_t_107_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_107_lin_to_win(&lin, pEvent); + struct_VREvent_t_107_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -169,7 +169,7 @@ bool cppIVRSystem_IVRSystem_015_PollNextEventWithPose(void *linux_side, ETrackin struct_VREvent_t_107_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pEvent) - struct_VREvent_t_107_lin_to_win(&lin, pEvent); + struct_VREvent_t_107_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -191,7 +191,7 @@ bool cppIVRSystem_IVRSystem_015_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_107_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); if(pControllerState) - struct_VRControllerState001_t_107_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_107_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } @@ -203,7 +203,7 @@ bool cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_107_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_107_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_107_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp index 5a582e9e..b7e2c57e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp @@ -162,7 +162,7 @@ bool cppIVRSystem_IVRSystem_016_PollNextEvent(void *linux_side, winVREvent_t_109 struct_VREvent_t_109_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_109_lin_to_win(&lin, pEvent); + struct_VREvent_t_109_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -174,7 +174,7 @@ bool cppIVRSystem_IVRSystem_016_PollNextEventWithPose(void *linux_side, ETrackin struct_VREvent_t_109_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pEvent) - struct_VREvent_t_109_lin_to_win(&lin, pEvent); + struct_VREvent_t_109_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -196,7 +196,7 @@ bool cppIVRSystem_IVRSystem_016_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_109_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); if(pControllerState) - struct_VRControllerState001_t_109_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_109_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } @@ -208,7 +208,7 @@ bool cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_109_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_109_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_109_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp index 3e23e7b8..88c3b689 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp @@ -162,7 +162,7 @@ bool cppIVRSystem_IVRSystem_017_PollNextEvent(void *linux_side, winVREvent_t_101 struct_VREvent_t_1011_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_1011_lin_to_win(&lin, pEvent); + struct_VREvent_t_1011_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -174,7 +174,7 @@ bool cppIVRSystem_IVRSystem_017_PollNextEventWithPose(void *linux_side, ETrackin struct_VREvent_t_1011_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pEvent) - struct_VREvent_t_1011_lin_to_win(&lin, pEvent); + struct_VREvent_t_1011_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -196,7 +196,7 @@ bool cppIVRSystem_IVRSystem_017_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_1011_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); if(pControllerState) - struct_VRControllerState001_t_1011_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_1011_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } @@ -208,7 +208,7 @@ bool cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_1011_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_1011_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_1011_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp index 7b973b2f..de0bebfe 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp @@ -167,7 +167,7 @@ bool cppIVRSystem_IVRSystem_019_PollNextEvent(void *linux_side, winVREvent_t_141 struct_VREvent_t_1418_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_1418_lin_to_win(&lin, pEvent); + struct_VREvent_t_1418_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -179,7 +179,7 @@ bool cppIVRSystem_IVRSystem_019_PollNextEventWithPose(void *linux_side, ETrackin struct_VREvent_t_1418_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pEvent) - struct_VREvent_t_1418_lin_to_win(&lin, pEvent); + struct_VREvent_t_1418_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -201,7 +201,7 @@ bool cppIVRSystem_IVRSystem_019_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_1418_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); if(pControllerState) - struct_VRControllerState001_t_1418_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_1418_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } @@ -213,7 +213,7 @@ bool cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_1418_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_1418_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_1418_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp index 7002b15b..e9996c81 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp @@ -167,7 +167,7 @@ bool cppIVRSystem_IVRSystem_020_PollNextEvent(void *linux_side, winVREvent_t_161 struct_VREvent_t_1610_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); if(pEvent) - struct_VREvent_t_1610_lin_to_win(&lin, pEvent); + struct_VREvent_t_1610_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -179,7 +179,7 @@ bool cppIVRSystem_IVRSystem_020_PollNextEventWithPose(void *linux_side, ETrackin struct_VREvent_t_1610_win_to_lin(pEvent, &lin); _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pEvent) - struct_VREvent_t_1610_lin_to_win(&lin, pEvent); + struct_VREvent_t_1610_lin_to_win(&lin, pEvent, uncbVREvent); return _ret; } @@ -201,7 +201,7 @@ bool cppIVRSystem_IVRSystem_020_GetControllerState(void *linux_side, TrackedDevi struct_VRControllerState001_t_1610_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); if(pControllerState) - struct_VRControllerState001_t_1610_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_1610_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } @@ -213,7 +213,7 @@ bool cppIVRSystem_IVRSystem_020_GetControllerStateWithPose(void *linux_side, ETr struct_VRControllerState001_t_1610_win_to_lin(pControllerState, &lin); _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); if(pControllerState) - struct_VRControllerState001_t_1610_lin_to_win(&lin, pControllerState); + struct_VRControllerState001_t_1610_lin_to_win(&lin, pControllerState, unControllerStateSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp index f1fe55f2..48e7dd81 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp @@ -52,7 +52,7 @@ vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStrea struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(pFrameHeader, &lin); _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin, pFrameHeader); + struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); return _ret; } @@ -69,7 +69,7 @@ vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStrea struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(pFrameHeader, &lin); _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin, pFrameHeader); + struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); return _ret; } @@ -81,7 +81,7 @@ vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStrea struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(pFrameHeader, &lin); _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin, pFrameHeader); + struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp index 8e08d866..2c8d9a08 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp @@ -52,7 +52,7 @@ vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStrea struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(pFrameHeader, &lin); _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin, pFrameHeader); + struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); return _ret; } @@ -69,7 +69,7 @@ vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStrea struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(pFrameHeader, &lin); _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin, pFrameHeader); + struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); return _ret; } @@ -81,7 +81,7 @@ vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStrea struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(pFrameHeader, &lin); _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin, pFrameHeader); + struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); return _ret; } diff --git a/vrclient_x64/vrclient_x64/struct_converters.h b/vrclient_x64/vrclient_x64/struct_converters.h index b6891d51..7b0e796b 100644 --- a/vrclient_x64/vrclient_x64/struct_converters.h +++ b/vrclient_x64/vrclient_x64/struct_converters.h @@ -1,11 +1,11 @@ typedef struct winVREvent_t_1610 winVREvent_t_1610; -extern void struct_VREvent_t_1610_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1610_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1610_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1610 winVRControllerState001_t_1610; -extern void struct_VRControllerState001_t_1610_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1610_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1610_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrameHeader_t_1610 winCameraVideoStreamFrameHeader_t_1610; -extern void struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(void *l, void *w); +extern void struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1610 winRenderModel_TextureMap_t_1610; extern void struct_RenderModel_TextureMap_t_1610_lin_to_win(void *l, void *w); @@ -18,25 +18,25 @@ extern void struct_RenderModel_t_1610_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1610 *struct_RenderModel_t_1610_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1610_unwrap(winRenderModel_t_1610 *w); typedef struct winInputAnalogActionData_t_1610 winInputAnalogActionData_t_1610; -extern void struct_InputAnalogActionData_t_1610_lin_to_win(void *l, void *w); +extern void struct_InputAnalogActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputAnalogActionData_t_1610_win_to_lin(void *w, void *l); typedef struct winInputDigitalActionData_t_1610 winInputDigitalActionData_t_1610; -extern void struct_InputDigitalActionData_t_1610_lin_to_win(void *l, void *w); +extern void struct_InputDigitalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputDigitalActionData_t_1610_win_to_lin(void *w, void *l); typedef struct winInputPoseActionData_t_1610 winInputPoseActionData_t_1610; -extern void struct_InputPoseActionData_t_1610_lin_to_win(void *l, void *w); +extern void struct_InputPoseActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputPoseActionData_t_1610_win_to_lin(void *w, void *l); typedef struct winInputSkeletalActionData_t_1610 winInputSkeletalActionData_t_1610; -extern void struct_InputSkeletalActionData_t_1610_lin_to_win(void *l, void *w); +extern void struct_InputSkeletalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputSkeletalActionData_t_1610_win_to_lin(void *w, void *l); typedef struct winVREvent_t_1517 winVREvent_t_1517; -extern void struct_VREvent_t_1517_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1517_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1517_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1517 winVRControllerState001_t_1517; -extern void struct_VRControllerState001_t_1517_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1517_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1517_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrameHeader_t_1517 winCameraVideoStreamFrameHeader_t_1517; -extern void struct_CameraVideoStreamFrameHeader_t_1517_lin_to_win(void *l, void *w); +extern void struct_CameraVideoStreamFrameHeader_t_1517_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_CameraVideoStreamFrameHeader_t_1517_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1517 winRenderModel_TextureMap_t_1517; extern void struct_RenderModel_TextureMap_t_1517_lin_to_win(void *l, void *w); @@ -49,25 +49,25 @@ extern void struct_RenderModel_t_1517_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1517 *struct_RenderModel_t_1517_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1517_unwrap(winRenderModel_t_1517 *w); typedef struct winInputAnalogActionData_t_1517 winInputAnalogActionData_t_1517; -extern void struct_InputAnalogActionData_t_1517_lin_to_win(void *l, void *w); +extern void struct_InputAnalogActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputAnalogActionData_t_1517_win_to_lin(void *w, void *l); typedef struct winInputDigitalActionData_t_1517 winInputDigitalActionData_t_1517; -extern void struct_InputDigitalActionData_t_1517_lin_to_win(void *l, void *w); +extern void struct_InputDigitalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputDigitalActionData_t_1517_win_to_lin(void *w, void *l); typedef struct winInputPoseActionData_t_1517 winInputPoseActionData_t_1517; -extern void struct_InputPoseActionData_t_1517_lin_to_win(void *l, void *w); +extern void struct_InputPoseActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputPoseActionData_t_1517_win_to_lin(void *w, void *l); typedef struct winInputSkeletalActionData_t_1517 winInputSkeletalActionData_t_1517; -extern void struct_InputSkeletalActionData_t_1517_lin_to_win(void *l, void *w); +extern void struct_InputSkeletalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputSkeletalActionData_t_1517_win_to_lin(void *w, void *l); typedef struct winVREvent_t_1418 winVREvent_t_1418; -extern void struct_VREvent_t_1418_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1418_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1418_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1418 winVRControllerState001_t_1418; -extern void struct_VRControllerState001_t_1418_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1418_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1418_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrameHeader_t_1418 winCameraVideoStreamFrameHeader_t_1418; -extern void struct_CameraVideoStreamFrameHeader_t_1418_lin_to_win(void *l, void *w); +extern void struct_CameraVideoStreamFrameHeader_t_1418_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_CameraVideoStreamFrameHeader_t_1418_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1418 winRenderModel_TextureMap_t_1418; extern void struct_RenderModel_TextureMap_t_1418_lin_to_win(void *l, void *w); @@ -80,25 +80,25 @@ extern void struct_RenderModel_t_1418_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1418 *struct_RenderModel_t_1418_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1418_unwrap(winRenderModel_t_1418 *w); typedef struct winInputAnalogActionData_t_1418 winInputAnalogActionData_t_1418; -extern void struct_InputAnalogActionData_t_1418_lin_to_win(void *l, void *w); +extern void struct_InputAnalogActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputAnalogActionData_t_1418_win_to_lin(void *w, void *l); typedef struct winInputDigitalActionData_t_1418 winInputDigitalActionData_t_1418; -extern void struct_InputDigitalActionData_t_1418_lin_to_win(void *l, void *w); +extern void struct_InputDigitalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputDigitalActionData_t_1418_win_to_lin(void *w, void *l); typedef struct winInputPoseActionData_t_1418 winInputPoseActionData_t_1418; -extern void struct_InputPoseActionData_t_1418_lin_to_win(void *l, void *w); +extern void struct_InputPoseActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputPoseActionData_t_1418_win_to_lin(void *w, void *l); typedef struct winInputSkeletalActionData_t_1418 winInputSkeletalActionData_t_1418; -extern void struct_InputSkeletalActionData_t_1418_lin_to_win(void *l, void *w); +extern void struct_InputSkeletalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputSkeletalActionData_t_1418_win_to_lin(void *w, void *l); typedef struct winVREvent_t_1322 winVREvent_t_1322; -extern void struct_VREvent_t_1322_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1322_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1322_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1322 winVRControllerState001_t_1322; -extern void struct_VRControllerState001_t_1322_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1322_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1322_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrameHeader_t_1322 winCameraVideoStreamFrameHeader_t_1322; -extern void struct_CameraVideoStreamFrameHeader_t_1322_lin_to_win(void *l, void *w); +extern void struct_CameraVideoStreamFrameHeader_t_1322_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_CameraVideoStreamFrameHeader_t_1322_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1322 winRenderModel_TextureMap_t_1322; extern void struct_RenderModel_TextureMap_t_1322_lin_to_win(void *l, void *w); @@ -111,25 +111,25 @@ extern void struct_RenderModel_t_1322_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1322 *struct_RenderModel_t_1322_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1322_unwrap(winRenderModel_t_1322 *w); typedef struct winInputAnalogActionData_t_1322 winInputAnalogActionData_t_1322; -extern void struct_InputAnalogActionData_t_1322_lin_to_win(void *l, void *w); +extern void struct_InputAnalogActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputAnalogActionData_t_1322_win_to_lin(void *w, void *l); typedef struct winInputDigitalActionData_t_1322 winInputDigitalActionData_t_1322; -extern void struct_InputDigitalActionData_t_1322_lin_to_win(void *l, void *w); +extern void struct_InputDigitalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputDigitalActionData_t_1322_win_to_lin(void *w, void *l); typedef struct winInputPoseActionData_t_1322 winInputPoseActionData_t_1322; -extern void struct_InputPoseActionData_t_1322_lin_to_win(void *l, void *w); +extern void struct_InputPoseActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputPoseActionData_t_1322_win_to_lin(void *w, void *l); typedef struct winInputSkeletalActionData_t_1322 winInputSkeletalActionData_t_1322; -extern void struct_InputSkeletalActionData_t_1322_lin_to_win(void *l, void *w); +extern void struct_InputSkeletalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputSkeletalActionData_t_1322_win_to_lin(void *w, void *l); typedef struct winVREvent_t_1210 winVREvent_t_1210; -extern void struct_VREvent_t_1210_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1210_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1210_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1210 winVRControllerState001_t_1210; -extern void struct_VRControllerState001_t_1210_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1210_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1210_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrameHeader_t_1210 winCameraVideoStreamFrameHeader_t_1210; -extern void struct_CameraVideoStreamFrameHeader_t_1210_lin_to_win(void *l, void *w); +extern void struct_CameraVideoStreamFrameHeader_t_1210_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_CameraVideoStreamFrameHeader_t_1210_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1210 winRenderModel_TextureMap_t_1210; extern void struct_RenderModel_TextureMap_t_1210_lin_to_win(void *l, void *w); @@ -142,25 +142,25 @@ extern void struct_RenderModel_t_1210_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1210 *struct_RenderModel_t_1210_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1210_unwrap(winRenderModel_t_1210 *w); typedef struct winInputAnalogActionData_t_1210 winInputAnalogActionData_t_1210; -extern void struct_InputAnalogActionData_t_1210_lin_to_win(void *l, void *w); +extern void struct_InputAnalogActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputAnalogActionData_t_1210_win_to_lin(void *w, void *l); typedef struct winInputDigitalActionData_t_1210 winInputDigitalActionData_t_1210; -extern void struct_InputDigitalActionData_t_1210_lin_to_win(void *l, void *w); +extern void struct_InputDigitalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputDigitalActionData_t_1210_win_to_lin(void *w, void *l); typedef struct winInputPoseActionData_t_1210 winInputPoseActionData_t_1210; -extern void struct_InputPoseActionData_t_1210_lin_to_win(void *l, void *w); +extern void struct_InputPoseActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputPoseActionData_t_1210_win_to_lin(void *w, void *l); typedef struct winInputSkeletalActionData_t_1210 winInputSkeletalActionData_t_1210; -extern void struct_InputSkeletalActionData_t_1210_lin_to_win(void *l, void *w); +extern void struct_InputSkeletalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputSkeletalActionData_t_1210_win_to_lin(void *w, void *l); typedef struct winVREvent_t_113b winVREvent_t_113b; -extern void struct_VREvent_t_113b_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_113b_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_113b_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_113b winVRControllerState001_t_113b; -extern void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_113b_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrameHeader_t_113b winCameraVideoStreamFrameHeader_t_113b; -extern void struct_CameraVideoStreamFrameHeader_t_113b_lin_to_win(void *l, void *w); +extern void struct_CameraVideoStreamFrameHeader_t_113b_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_CameraVideoStreamFrameHeader_t_113b_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_113b winRenderModel_TextureMap_t_113b; extern void struct_RenderModel_TextureMap_t_113b_lin_to_win(void *l, void *w); @@ -173,25 +173,25 @@ extern void struct_RenderModel_t_113b_win_to_lin(void *w, void *l); extern struct winRenderModel_t_113b *struct_RenderModel_t_113b_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_113b_unwrap(winRenderModel_t_113b *w); typedef struct winInputAnalogActionData_t_113b winInputAnalogActionData_t_113b; -extern void struct_InputAnalogActionData_t_113b_lin_to_win(void *l, void *w); +extern void struct_InputAnalogActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputAnalogActionData_t_113b_win_to_lin(void *w, void *l); typedef struct winInputDigitalActionData_t_113b winInputDigitalActionData_t_113b; -extern void struct_InputDigitalActionData_t_113b_lin_to_win(void *l, void *w); +extern void struct_InputDigitalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputDigitalActionData_t_113b_win_to_lin(void *w, void *l); typedef struct winInputPoseActionData_t_113b winInputPoseActionData_t_113b; -extern void struct_InputPoseActionData_t_113b_lin_to_win(void *l, void *w); +extern void struct_InputPoseActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputPoseActionData_t_113b_win_to_lin(void *w, void *l); typedef struct winInputSkeletalActionData_t_113b winInputSkeletalActionData_t_113b; -extern void struct_InputSkeletalActionData_t_113b_lin_to_win(void *l, void *w); +extern void struct_InputSkeletalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputSkeletalActionData_t_113b_win_to_lin(void *w, void *l); typedef struct winVREvent_t_1017 winVREvent_t_1017; -extern void struct_VREvent_t_1017_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1017_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1017_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1017 winVRControllerState001_t_1017; -extern void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1017_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrameHeader_t_1017 winCameraVideoStreamFrameHeader_t_1017; -extern void struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(void *l, void *w); +extern void struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1017 winRenderModel_TextureMap_t_1017; extern void struct_RenderModel_TextureMap_t_1017_lin_to_win(void *l, void *w); @@ -204,22 +204,22 @@ extern void struct_RenderModel_t_1017_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1017 *struct_RenderModel_t_1017_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1017_unwrap(winRenderModel_t_1017 *w); typedef struct winInputAnalogActionData_t_1017 winInputAnalogActionData_t_1017; -extern void struct_InputAnalogActionData_t_1017_lin_to_win(void *l, void *w); +extern void struct_InputAnalogActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputAnalogActionData_t_1017_win_to_lin(void *w, void *l); typedef struct winInputDigitalActionData_t_1017 winInputDigitalActionData_t_1017; -extern void struct_InputDigitalActionData_t_1017_lin_to_win(void *l, void *w); +extern void struct_InputDigitalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputDigitalActionData_t_1017_win_to_lin(void *w, void *l); typedef struct winInputPoseActionData_t_1017 winInputPoseActionData_t_1017; -extern void struct_InputPoseActionData_t_1017_lin_to_win(void *l, void *w); +extern void struct_InputPoseActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputPoseActionData_t_1017_win_to_lin(void *w, void *l); typedef struct winInputSkeletalActionData_t_1017 winInputSkeletalActionData_t_1017; -extern void struct_InputSkeletalActionData_t_1017_lin_to_win(void *l, void *w); +extern void struct_InputSkeletalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputSkeletalActionData_t_1017_win_to_lin(void *w, void *l); typedef struct winVREvent_t_1016 winVREvent_t_1016; -extern void struct_VREvent_t_1016_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1016_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1016_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1016 winVRControllerState001_t_1016; -extern void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1016_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1016 winRenderModel_TextureMap_t_1016; extern void struct_RenderModel_TextureMap_t_1016_lin_to_win(void *l, void *w); @@ -232,22 +232,22 @@ extern void struct_RenderModel_t_1016_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1016 *struct_RenderModel_t_1016_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1016_unwrap(winRenderModel_t_1016 *w); typedef struct winInputAnalogActionData_t_1016 winInputAnalogActionData_t_1016; -extern void struct_InputAnalogActionData_t_1016_lin_to_win(void *l, void *w); +extern void struct_InputAnalogActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputAnalogActionData_t_1016_win_to_lin(void *w, void *l); typedef struct winInputDigitalActionData_t_1016 winInputDigitalActionData_t_1016; -extern void struct_InputDigitalActionData_t_1016_lin_to_win(void *l, void *w); +extern void struct_InputDigitalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputDigitalActionData_t_1016_win_to_lin(void *w, void *l); typedef struct winInputPoseActionData_t_1016 winInputPoseActionData_t_1016; -extern void struct_InputPoseActionData_t_1016_lin_to_win(void *l, void *w); +extern void struct_InputPoseActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputPoseActionData_t_1016_win_to_lin(void *w, void *l); typedef struct winInputSkeletalActionData_t_1016 winInputSkeletalActionData_t_1016; -extern void struct_InputSkeletalActionData_t_1016_lin_to_win(void *l, void *w); +extern void struct_InputSkeletalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputSkeletalActionData_t_1016_win_to_lin(void *w, void *l); typedef struct winVREvent_t_1015 winVREvent_t_1015; -extern void struct_VREvent_t_1015_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1015_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1015_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1015 winVRControllerState001_t_1015; -extern void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1015_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1015 winRenderModel_TextureMap_t_1015; extern void struct_RenderModel_TextureMap_t_1015_lin_to_win(void *l, void *w); @@ -260,22 +260,22 @@ extern void struct_RenderModel_t_1015_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1015 *struct_RenderModel_t_1015_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1015_unwrap(winRenderModel_t_1015 *w); typedef struct winInputAnalogActionData_t_1015 winInputAnalogActionData_t_1015; -extern void struct_InputAnalogActionData_t_1015_lin_to_win(void *l, void *w); +extern void struct_InputAnalogActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputAnalogActionData_t_1015_win_to_lin(void *w, void *l); typedef struct winInputDigitalActionData_t_1015 winInputDigitalActionData_t_1015; -extern void struct_InputDigitalActionData_t_1015_lin_to_win(void *l, void *w); +extern void struct_InputDigitalActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputDigitalActionData_t_1015_win_to_lin(void *w, void *l); typedef struct winInputPoseActionData_t_1015 winInputPoseActionData_t_1015; -extern void struct_InputPoseActionData_t_1015_lin_to_win(void *l, void *w); +extern void struct_InputPoseActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_InputPoseActionData_t_1015_win_to_lin(void *w, void *l); typedef struct winInputSkeletonActionData_t_1015 winInputSkeletonActionData_t_1015; extern void struct_InputSkeletonActionData_t_1015_lin_to_win(void *l, void *w); extern void struct_InputSkeletonActionData_t_1015_win_to_lin(void *w, void *l); typedef struct winVREvent_t_1014 winVREvent_t_1014; -extern void struct_VREvent_t_1014_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1014_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1014_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1014 winVRControllerState001_t_1014; -extern void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1014_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1014 winRenderModel_TextureMap_t_1014; extern void struct_RenderModel_TextureMap_t_1014_lin_to_win(void *l, void *w); @@ -288,10 +288,10 @@ extern void struct_RenderModel_t_1014_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1014 *struct_RenderModel_t_1014_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1014_unwrap(winRenderModel_t_1014 *w); typedef struct winVREvent_t_1013 winVREvent_t_1013; -extern void struct_VREvent_t_1013_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1013_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1013_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1013 winVRControllerState001_t_1013; -extern void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1013_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1013 winRenderModel_TextureMap_t_1013; extern void struct_RenderModel_TextureMap_t_1013_lin_to_win(void *l, void *w); @@ -304,10 +304,10 @@ extern void struct_RenderModel_t_1013_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1013 *struct_RenderModel_t_1013_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1013_unwrap(winRenderModel_t_1013 *w); typedef struct winVREvent_t_1012 winVREvent_t_1012; -extern void struct_VREvent_t_1012_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1012_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1012_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1012 winVRControllerState001_t_1012; -extern void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1012_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1012 winRenderModel_TextureMap_t_1012; extern void struct_RenderModel_TextureMap_t_1012_lin_to_win(void *l, void *w); @@ -320,10 +320,10 @@ extern void struct_RenderModel_t_1012_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1012 *struct_RenderModel_t_1012_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1012_unwrap(winRenderModel_t_1012 *w); typedef struct winVREvent_t_1011 winVREvent_t_1011; -extern void struct_VREvent_t_1011_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1011_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1011_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1011 winVRControllerState001_t_1011; -extern void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1011_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1011 winRenderModel_TextureMap_t_1011; extern void struct_RenderModel_TextureMap_t_1011_lin_to_win(void *l, void *w); @@ -336,10 +336,10 @@ extern void struct_RenderModel_t_1011_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1011 *struct_RenderModel_t_1011_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1011_unwrap(winRenderModel_t_1011 *w); typedef struct winVREvent_t_1010 winVREvent_t_1010; -extern void struct_VREvent_t_1010_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_1010_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_1010_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_1010 winVRControllerState001_t_1010; -extern void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_1010_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_1010 winRenderModel_TextureMap_t_1010; extern void struct_RenderModel_TextureMap_t_1010_lin_to_win(void *l, void *w); @@ -352,10 +352,10 @@ extern void struct_RenderModel_t_1010_win_to_lin(void *w, void *l); extern struct winRenderModel_t_1010 *struct_RenderModel_t_1010_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_1010_unwrap(winRenderModel_t_1010 *w); typedef struct winVREvent_t_109 winVREvent_t_109; -extern void struct_VREvent_t_109_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_109_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_109_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_109 winVRControllerState001_t_109; -extern void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_109_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_109 winRenderModel_TextureMap_t_109; extern void struct_RenderModel_TextureMap_t_109_lin_to_win(void *l, void *w); @@ -368,10 +368,10 @@ extern void struct_RenderModel_t_109_win_to_lin(void *w, void *l); extern struct winRenderModel_t_109 *struct_RenderModel_t_109_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_109_unwrap(winRenderModel_t_109 *w); typedef struct winVREvent_t_108 winVREvent_t_108; -extern void struct_VREvent_t_108_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_108_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_108_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_108 winVRControllerState001_t_108; -extern void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_108_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_108 winRenderModel_TextureMap_t_108; extern void struct_RenderModel_TextureMap_t_108_lin_to_win(void *l, void *w); @@ -384,10 +384,10 @@ extern void struct_RenderModel_t_108_win_to_lin(void *w, void *l); extern struct winRenderModel_t_108 *struct_RenderModel_t_108_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_108_unwrap(winRenderModel_t_108 *w); typedef struct winVREvent_t_107 winVREvent_t_107; -extern void struct_VREvent_t_107_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_107_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_107_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_107 winVRControllerState001_t_107; -extern void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_107_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_107 winRenderModel_TextureMap_t_107; extern void struct_RenderModel_TextureMap_t_107_lin_to_win(void *l, void *w); @@ -400,10 +400,10 @@ extern void struct_RenderModel_t_107_win_to_lin(void *w, void *l); extern struct winRenderModel_t_107 *struct_RenderModel_t_107_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_107_unwrap(winRenderModel_t_107 *w); typedef struct winVREvent_t_106 winVREvent_t_106; -extern void struct_VREvent_t_106_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_106_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_106_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_106 winVRControllerState001_t_106; -extern void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_106_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_106 winRenderModel_TextureMap_t_106; extern void struct_RenderModel_TextureMap_t_106_lin_to_win(void *l, void *w); @@ -416,10 +416,10 @@ extern void struct_RenderModel_t_106_win_to_lin(void *w, void *l); extern struct winRenderModel_t_106 *struct_RenderModel_t_106_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_106_unwrap(winRenderModel_t_106 *w); typedef struct winVREvent_t_105 winVREvent_t_105; -extern void struct_VREvent_t_105_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_105_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_105_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_105 winVRControllerState001_t_105; -extern void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_105_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_105 winRenderModel_TextureMap_t_105; extern void struct_RenderModel_TextureMap_t_105_lin_to_win(void *l, void *w); @@ -432,10 +432,10 @@ extern void struct_RenderModel_t_105_win_to_lin(void *w, void *l); extern struct winRenderModel_t_105 *struct_RenderModel_t_105_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_105_unwrap(winRenderModel_t_105 *w); typedef struct winVREvent_t_104 winVREvent_t_104; -extern void struct_VREvent_t_104_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_104_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_104_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_104 winVRControllerState001_t_104; -extern void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_104_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_104 winRenderModel_TextureMap_t_104; extern void struct_RenderModel_TextureMap_t_104_lin_to_win(void *l, void *w); @@ -448,10 +448,10 @@ extern void struct_RenderModel_t_104_win_to_lin(void *w, void *l); extern struct winRenderModel_t_104 *struct_RenderModel_t_104_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_104_unwrap(winRenderModel_t_104 *w); typedef struct winVREvent_t_103a winVREvent_t_103a; -extern void struct_VREvent_t_103a_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_103a_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_103a_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_103a winVRControllerState001_t_103a; -extern void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_103a_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_103a winRenderModel_TextureMap_t_103a; extern void struct_RenderModel_TextureMap_t_103a_lin_to_win(void *l, void *w); @@ -464,10 +464,10 @@ extern void struct_RenderModel_t_103a_win_to_lin(void *w, void *l); extern struct winRenderModel_t_103a *struct_RenderModel_t_103a_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_103a_unwrap(winRenderModel_t_103a *w); typedef struct winVREvent_t_103 winVREvent_t_103; -extern void struct_VREvent_t_103_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_103_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_103_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_103 winVRControllerState001_t_103; -extern void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_103_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_103 winCompositor_FrameTiming_103; extern void struct_Compositor_FrameTiming_103_lin_to_win(void *l, void *w); @@ -483,10 +483,10 @@ extern void struct_RenderModel_t_103_win_to_lin(void *w, void *l); extern struct winRenderModel_t_103 *struct_RenderModel_t_103_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_103_unwrap(winRenderModel_t_103 *w); typedef struct winVREvent_t_102 winVREvent_t_102; -extern void struct_VREvent_t_102_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_102_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_102_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_102 winVRControllerState001_t_102; -extern void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_102_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_102 winCompositor_FrameTiming_102; extern void struct_Compositor_FrameTiming_102_lin_to_win(void *l, void *w); @@ -502,10 +502,10 @@ extern void struct_RenderModel_t_102_win_to_lin(void *w, void *l); extern struct winRenderModel_t_102 *struct_RenderModel_t_102_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_102_unwrap(winRenderModel_t_102 *w); typedef struct winVREvent_t_101 winVREvent_t_101; -extern void struct_VREvent_t_101_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_101_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_101_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_101 winVRControllerState001_t_101; -extern void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_101_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_101 winRenderModel_TextureMap_t_101; extern void struct_RenderModel_TextureMap_t_101_lin_to_win(void *l, void *w); @@ -518,10 +518,10 @@ extern void struct_RenderModel_t_101_win_to_lin(void *w, void *l); extern struct winRenderModel_t_101 *struct_RenderModel_t_101_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_101_unwrap(winRenderModel_t_101 *w); typedef struct winVREvent_t_100 winVREvent_t_100; -extern void struct_VREvent_t_100_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_100_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_100_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_100 winVRControllerState001_t_100; -extern void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_100_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_100 winRenderModel_TextureMap_t_100; extern void struct_RenderModel_TextureMap_t_100_lin_to_win(void *l, void *w); @@ -534,10 +534,10 @@ extern void struct_RenderModel_t_100_win_to_lin(void *w, void *l); extern struct winRenderModel_t_100 *struct_RenderModel_t_100_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_100_unwrap(winRenderModel_t_100 *w); typedef struct winVREvent_t_0920 winVREvent_t_0920; -extern void struct_VREvent_t_0920_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_0920_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_0920_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_0920 winVRControllerState001_t_0920; -extern void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0920_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_0920 winRenderModel_TextureMap_t_0920; extern void struct_RenderModel_TextureMap_t_0920_lin_to_win(void *l, void *w); @@ -550,10 +550,10 @@ extern void struct_RenderModel_t_0920_win_to_lin(void *w, void *l); extern struct winRenderModel_t_0920 *struct_RenderModel_t_0920_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_0920_unwrap(winRenderModel_t_0920 *w); typedef struct winVREvent_t_0919 winVREvent_t_0919; -extern void struct_VREvent_t_0919_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_0919_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_0919_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_0919 winVRControllerState001_t_0919; -extern void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0919_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_0919 winRenderModel_TextureMap_t_0919; extern void struct_RenderModel_TextureMap_t_0919_lin_to_win(void *l, void *w); @@ -566,10 +566,10 @@ extern void struct_RenderModel_t_0919_win_to_lin(void *w, void *l); extern struct winRenderModel_t_0919 *struct_RenderModel_t_0919_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_0919_unwrap(winRenderModel_t_0919 *w); typedef struct winVREvent_t_0918 winVREvent_t_0918; -extern void struct_VREvent_t_0918_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_0918_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_0918_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_0918 winVRControllerState001_t_0918; -extern void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0918_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_0918 winRenderModel_TextureMap_t_0918; extern void struct_RenderModel_TextureMap_t_0918_lin_to_win(void *l, void *w); @@ -582,10 +582,10 @@ extern void struct_RenderModel_t_0918_win_to_lin(void *w, void *l); extern struct winRenderModel_t_0918 *struct_RenderModel_t_0918_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_0918_unwrap(winRenderModel_t_0918 *w); typedef struct winVREvent_t_0917 winVREvent_t_0917; -extern void struct_VREvent_t_0917_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_0917_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_0917_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_0917 winVRControllerState001_t_0917; -extern void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0917_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_0917 winRenderModel_TextureMap_t_0917; extern void struct_RenderModel_TextureMap_t_0917_lin_to_win(void *l, void *w); @@ -598,10 +598,10 @@ extern void struct_RenderModel_t_0917_win_to_lin(void *w, void *l); extern struct winRenderModel_t_0917 *struct_RenderModel_t_0917_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_0917_unwrap(winRenderModel_t_0917 *w); typedef struct winVREvent_t_0916 winVREvent_t_0916; -extern void struct_VREvent_t_0916_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_0916_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_0916_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_0916 winVRControllerState001_t_0916; -extern void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0916_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_0916 winRenderModel_TextureMap_t_0916; extern void struct_RenderModel_TextureMap_t_0916_lin_to_win(void *l, void *w); @@ -614,10 +614,10 @@ extern void struct_RenderModel_t_0916_win_to_lin(void *w, void *l); extern struct winRenderModel_t_0916 *struct_RenderModel_t_0916_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_0916_unwrap(winRenderModel_t_0916 *w); typedef struct winVREvent_t_0915 winVREvent_t_0915; -extern void struct_VREvent_t_0915_lin_to_win(void *l, void *w); +extern void struct_VREvent_t_0915_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VREvent_t_0915_win_to_lin(void *w, void *l); typedef struct winVRControllerState001_t_0915 winVRControllerState001_t_0915; -extern void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0915_win_to_lin(void *w, void *l); typedef struct winRenderModel_TextureMap_t_0915 winRenderModel_TextureMap_t_0915; extern void struct_RenderModel_TextureMap_t_0915_lin_to_win(void *l, void *w); @@ -630,7 +630,7 @@ extern void struct_RenderModel_t_0915_win_to_lin(void *w, void *l); extern struct winRenderModel_t_0915 *struct_RenderModel_t_0915_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_0915_unwrap(winRenderModel_t_0915 *w); typedef struct winVRControllerState001_t_0914 winVRControllerState001_t_0914; -extern void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0914_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrame_t_0914 winCameraVideoStreamFrame_t_0914; extern void struct_CameraVideoStreamFrame_t_0914_lin_to_win(void *l, void *w); @@ -649,7 +649,7 @@ extern void struct_RenderModel_t_0914_win_to_lin(void *w, void *l); extern struct winRenderModel_t_0914 *struct_RenderModel_t_0914_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_0914_unwrap(winRenderModel_t_0914 *w); typedef struct winVRControllerState001_t_0913 winVRControllerState001_t_0913; -extern void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0913_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrame_t_0913 winCameraVideoStreamFrame_t_0913; extern void struct_CameraVideoStreamFrame_t_0913_lin_to_win(void *l, void *w); @@ -668,7 +668,7 @@ extern void struct_RenderModel_t_0913_win_to_lin(void *w, void *l); extern struct winRenderModel_t_0913 *struct_RenderModel_t_0913_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_0913_unwrap(winRenderModel_t_0913 *w); typedef struct winVRControllerState001_t_0912 winVRControllerState001_t_0912; -extern void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0912_win_to_lin(void *w, void *l); typedef struct winCameraVideoStreamFrame_t_0912 winCameraVideoStreamFrame_t_0912; extern void struct_CameraVideoStreamFrame_t_0912_lin_to_win(void *l, void *w); @@ -697,7 +697,7 @@ extern void struct_RenderModel_t_0910_win_to_lin(void *w, void *l); extern struct winRenderModel_t_0910 *struct_RenderModel_t_0910_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_0910_unwrap(winRenderModel_t_0910 *w); typedef struct winVRControllerState001_t_0910 winVRControllerState001_t_0910; -extern void struct_VRControllerState001_t_0910_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_0910_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_0910_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_0910 winCompositor_FrameTiming_0910; extern void struct_Compositor_FrameTiming_0910_lin_to_win(void *l, void *w); @@ -713,7 +713,7 @@ extern void struct_RenderModel_t_099_win_to_lin(void *w, void *l); extern struct winRenderModel_t_099 *struct_RenderModel_t_099_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_099_unwrap(winRenderModel_t_099 *w); typedef struct winVRControllerState001_t_099 winVRControllerState001_t_099; -extern void struct_VRControllerState001_t_099_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_099_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_099_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_099 winCompositor_FrameTiming_099; extern void struct_Compositor_FrameTiming_099_lin_to_win(void *l, void *w); @@ -729,7 +729,7 @@ extern void struct_RenderModel_t_098_win_to_lin(void *w, void *l); extern struct winRenderModel_t_098 *struct_RenderModel_t_098_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_098_unwrap(winRenderModel_t_098 *w); typedef struct winVRControllerState001_t_098 winVRControllerState001_t_098; -extern void struct_VRControllerState001_t_098_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_098_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_098_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_098 winCompositor_FrameTiming_098; extern void struct_Compositor_FrameTiming_098_lin_to_win(void *l, void *w); @@ -745,7 +745,7 @@ extern void struct_RenderModel_t_097_win_to_lin(void *w, void *l); extern struct winRenderModel_t_097 *struct_RenderModel_t_097_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_097_unwrap(winRenderModel_t_097 *w); typedef struct winVRControllerState001_t_097 winVRControllerState001_t_097; -extern void struct_VRControllerState001_t_097_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_097_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_097_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_097 winCompositor_FrameTiming_097; extern void struct_Compositor_FrameTiming_097_lin_to_win(void *l, void *w); @@ -761,7 +761,7 @@ extern void struct_RenderModel_t_096_win_to_lin(void *w, void *l); extern struct winRenderModel_t_096 *struct_RenderModel_t_096_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_096_unwrap(winRenderModel_t_096 *w); typedef struct winVRControllerState001_t_096 winVRControllerState001_t_096; -extern void struct_VRControllerState001_t_096_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_096_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_096_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_096 winCompositor_FrameTiming_096; extern void struct_Compositor_FrameTiming_096_lin_to_win(void *l, void *w); @@ -777,7 +777,7 @@ extern void struct_RenderModel_t_094_win_to_lin(void *w, void *l); extern struct winRenderModel_t_094 *struct_RenderModel_t_094_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_094_unwrap(winRenderModel_t_094 *w); typedef struct winVRControllerState001_t_094 winVRControllerState001_t_094; -extern void struct_VRControllerState001_t_094_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_094_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_094_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_094 winCompositor_FrameTiming_094; extern void struct_Compositor_FrameTiming_094_lin_to_win(void *l, void *w); @@ -793,7 +793,7 @@ extern void struct_RenderModel_t_093_win_to_lin(void *w, void *l); extern struct winRenderModel_t_093 *struct_RenderModel_t_093_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_093_unwrap(winRenderModel_t_093 *w); typedef struct winVRControllerState001_t_093 winVRControllerState001_t_093; -extern void struct_VRControllerState001_t_093_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_093_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_093_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_093 winCompositor_FrameTiming_093; extern void struct_Compositor_FrameTiming_093_lin_to_win(void *l, void *w); @@ -809,7 +809,7 @@ extern void struct_RenderModel_t_092_win_to_lin(void *w, void *l); extern struct winRenderModel_t_092 *struct_RenderModel_t_092_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_092_unwrap(winRenderModel_t_092 *w); typedef struct winVRControllerState001_t_092 winVRControllerState001_t_092; -extern void struct_VRControllerState001_t_092_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_092_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_092_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_092 winCompositor_FrameTiming_092; extern void struct_Compositor_FrameTiming_092_lin_to_win(void *l, void *w); @@ -825,7 +825,7 @@ extern void struct_RenderModel_t_091_win_to_lin(void *w, void *l); extern struct winRenderModel_t_091 *struct_RenderModel_t_091_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_091_unwrap(winRenderModel_t_091 *w); typedef struct winVRControllerState001_t_091 winVRControllerState001_t_091; -extern void struct_VRControllerState001_t_091_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_091_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_091_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_091 winCompositor_FrameTiming_091; extern void struct_Compositor_FrameTiming_091_lin_to_win(void *l, void *w); @@ -841,7 +841,7 @@ extern void struct_RenderModel_t_090_win_to_lin(void *w, void *l); extern struct winRenderModel_t_090 *struct_RenderModel_t_090_wrap(void *l); extern RenderModel_t *struct_RenderModel_t_090_unwrap(winRenderModel_t_090 *w); typedef struct winVRControllerState001_t_090 winVRControllerState001_t_090; -extern void struct_VRControllerState001_t_090_lin_to_win(void *l, void *w); +extern void struct_VRControllerState001_t_090_lin_to_win(void *l, void *w, uint32_t sz); extern void struct_VRControllerState001_t_090_win_to_lin(void *w, void *l); typedef struct winCompositor_FrameTiming_090 winCompositor_FrameTiming_090; extern void struct_Compositor_FrameTiming_090_lin_to_win(void *l, void *w); diff --git a/vrclient_x64/vrclient_x64/struct_converters_090.cpp b/vrclient_x64/vrclient_x64/struct_converters_090.cpp index bbd57593..d3efa993 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_090.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_090.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_090 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_090_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_090_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_090 *win = (struct winVRControllerState001_t_090 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_091.cpp b/vrclient_x64/vrclient_x64/struct_converters_091.cpp index 0ac95f76..a0798da4 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_091.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_091.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_091 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_091_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_091_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_091 *win = (struct winVRControllerState001_t_091 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0910.cpp b/vrclient_x64/vrclient_x64/struct_converters_0910.cpp index a577910b..ffe87037 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0910.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0910.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_0910 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0910_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0910_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0910 *win = (struct winVRControllerState001_t_0910 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0912.cpp b/vrclient_x64/vrclient_x64/struct_converters_0912.cpp index 37efe2b3..53280704 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0912.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0912.cpp @@ -15,7 +15,7 @@ struct winVRControllerState001_t_0912 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0912 *win = (struct winVRControllerState001_t_0912 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0913.cpp b/vrclient_x64/vrclient_x64/struct_converters_0913.cpp index 624d68df..97139e3a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0913.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0913.cpp @@ -15,7 +15,7 @@ struct winVRControllerState001_t_0913 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0913 *win = (struct winVRControllerState001_t_0913 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0914.cpp b/vrclient_x64/vrclient_x64/struct_converters_0914.cpp index 93ff3885..6e59b358 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0914.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0914.cpp @@ -15,7 +15,7 @@ struct winVRControllerState001_t_0914 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0914 *win = (struct winVRControllerState001_t_0914 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0915.cpp b/vrclient_x64/vrclient_x64/struct_converters_0915.cpp index 5682c791..51f93edf 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0915.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0915.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_0915 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_0915_lin_to_win(void *l, void *w) +void struct_VREvent_t_0915_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_0915 *win = (struct winVREvent_t_0915 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_0915_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_0915 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0915 *win = (struct winVRControllerState001_t_0915 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0916.cpp b/vrclient_x64/vrclient_x64/struct_converters_0916.cpp index b4e0bffc..4ce3cc44 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0916.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0916.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_0916 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_0916_lin_to_win(void *l, void *w) +void struct_VREvent_t_0916_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_0916 *win = (struct winVREvent_t_0916 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_0916_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_0916 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0916 *win = (struct winVRControllerState001_t_0916 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0917.cpp b/vrclient_x64/vrclient_x64/struct_converters_0917.cpp index bf2861ae..394f55bc 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0917.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0917.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_0917 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_0917_lin_to_win(void *l, void *w) +void struct_VREvent_t_0917_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_0917 *win = (struct winVREvent_t_0917 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_0917_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_0917 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0917 *win = (struct winVRControllerState001_t_0917 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0918.cpp b/vrclient_x64/vrclient_x64/struct_converters_0918.cpp index 4eacfb7e..40e9545a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0918.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0918.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_0918 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_0918_lin_to_win(void *l, void *w) +void struct_VREvent_t_0918_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_0918 *win = (struct winVREvent_t_0918 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_0918_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_0918 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0918 *win = (struct winVRControllerState001_t_0918 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0919.cpp b/vrclient_x64/vrclient_x64/struct_converters_0919.cpp index accb6504..5465715e 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0919.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0919.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_0919 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_0919_lin_to_win(void *l, void *w) +void struct_VREvent_t_0919_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_0919 *win = (struct winVREvent_t_0919 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_0919_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_0919 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0919 *win = (struct winVRControllerState001_t_0919 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_092.cpp b/vrclient_x64/vrclient_x64/struct_converters_092.cpp index 9590af02..bacbd88e 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_092.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_092.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_092 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_092_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_092_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_092 *win = (struct winVRControllerState001_t_092 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_0920.cpp b/vrclient_x64/vrclient_x64/struct_converters_0920.cpp index 81b94145..ebf33d2a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0920.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0920.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_0920 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_0920_lin_to_win(void *l, void *w) +void struct_VREvent_t_0920_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_0920 *win = (struct winVREvent_t_0920 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_0920_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_0920 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_0920 *win = (struct winVRControllerState001_t_0920 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_093.cpp b/vrclient_x64/vrclient_x64/struct_converters_093.cpp index 180e8ff8..c989b6b3 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_093.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_093.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_093 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_093_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_093_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_093 *win = (struct winVRControllerState001_t_093 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_094.cpp b/vrclient_x64/vrclient_x64/struct_converters_094.cpp index 5b0bc3ae..f6f5991d 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_094.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_094.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_094 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_094_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_094_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_094 *win = (struct winVRControllerState001_t_094 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_096.cpp b/vrclient_x64/vrclient_x64/struct_converters_096.cpp index 1830c88f..972437fe 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_096.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_096.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_096 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_096_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_096_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_096 *win = (struct winVRControllerState001_t_096 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_097.cpp b/vrclient_x64/vrclient_x64/struct_converters_097.cpp index ebd6d5e9..debbe722 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_097.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_097.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_097 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_097_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_097_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_097 *win = (struct winVRControllerState001_t_097 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_098.cpp b/vrclient_x64/vrclient_x64/struct_converters_098.cpp index 8b73d730..96ef3cfe 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_098.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_098.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_098 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_098_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_098_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_098 *win = (struct winVRControllerState001_t_098 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_099.cpp b/vrclient_x64/vrclient_x64/struct_converters_099.cpp index 5366aaef..759c47fc 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_099.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_099.cpp @@ -119,7 +119,7 @@ struct winVRControllerState001_t_099 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_099_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_099_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_099 *win = (struct winVRControllerState001_t_099 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_100.cpp b/vrclient_x64/vrclient_x64/struct_converters_100.cpp index dc1f15c8..750d61de 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_100.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_100.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_100 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_100_lin_to_win(void *l, void *w) +void struct_VREvent_t_100_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_100 *win = (struct winVREvent_t_100 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_100_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_100 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_100 *win = (struct winVRControllerState001_t_100 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_101.cpp b/vrclient_x64/vrclient_x64/struct_converters_101.cpp index 1ecdf6c6..86edf6ba 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_101.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_101.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_101 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_101_lin_to_win(void *l, void *w) +void struct_VREvent_t_101_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_101 *win = (struct winVREvent_t_101 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_101_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_101 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_101 *win = (struct winVRControllerState001_t_101 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1010.cpp b/vrclient_x64/vrclient_x64/struct_converters_1010.cpp index 8dc32b9c..89baf0ff 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1010.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1010.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1010 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1010_lin_to_win(void *l, void *w) +void struct_VREvent_t_1010_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1010 *win = (struct winVREvent_t_1010 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1010_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1010 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1010 *win = (struct winVRControllerState001_t_1010 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1011.cpp b/vrclient_x64/vrclient_x64/struct_converters_1011.cpp index 4ceeb3e2..52a2959f 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1011.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1011.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1011 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1011_lin_to_win(void *l, void *w) +void struct_VREvent_t_1011_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1011 *win = (struct winVREvent_t_1011 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1011_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1011 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1011 *win = (struct winVRControllerState001_t_1011 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1012.cpp b/vrclient_x64/vrclient_x64/struct_converters_1012.cpp index baa505db..19d22039 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1012.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1012.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1012 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1012_lin_to_win(void *l, void *w) +void struct_VREvent_t_1012_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1012 *win = (struct winVREvent_t_1012 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1012_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1012 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1012 *win = (struct winVRControllerState001_t_1012 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1013.cpp b/vrclient_x64/vrclient_x64/struct_converters_1013.cpp index 631a9292..0688fd83 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1013.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1013.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1013 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1013_lin_to_win(void *l, void *w) +void struct_VREvent_t_1013_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1013 *win = (struct winVREvent_t_1013 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1013_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1013 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1013 *win = (struct winVRControllerState001_t_1013 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1014.cpp b/vrclient_x64/vrclient_x64/struct_converters_1014.cpp index 29b9c02f..2bca7420 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1014.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1014.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1014 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1014_lin_to_win(void *l, void *w) +void struct_VREvent_t_1014_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1014 *win = (struct winVREvent_t_1014 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1014_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1014 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1014 *win = (struct winVRControllerState001_t_1014 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1015.cpp b/vrclient_x64/vrclient_x64/struct_converters_1015.cpp index 7361c4d3..b04ea41a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1015.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1015.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1015 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1015_lin_to_win(void *l, void *w) +void struct_VREvent_t_1015_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1015 *win = (struct winVREvent_t_1015 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1015_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1015 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1015 *win = (struct winVRControllerState001_t_1015 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; @@ -178,7 +178,7 @@ struct winInputAnalogActionData_t_1015 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputAnalogActionData_t_1015_lin_to_win(void *l, void *w) +void struct_InputAnalogActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputAnalogActionData_t_1015 *win = (struct winInputAnalogActionData_t_1015 *)w; InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; @@ -218,7 +218,7 @@ struct winInputDigitalActionData_t_1015 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputDigitalActionData_t_1015_lin_to_win(void *l, void *w) +void struct_InputDigitalActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputDigitalActionData_t_1015 *win = (struct winInputDigitalActionData_t_1015 *)w; InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; @@ -248,7 +248,7 @@ struct winInputPoseActionData_t_1015 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputPoseActionData_t_1015_lin_to_win(void *l, void *w) +void struct_InputPoseActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputPoseActionData_t_1015 *win = (struct winInputPoseActionData_t_1015 *)w; InputPoseActionData_t *lin = (InputPoseActionData_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1016.cpp b/vrclient_x64/vrclient_x64/struct_converters_1016.cpp index f5e1614f..9fd2b16a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1016.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1016.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1016 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1016_lin_to_win(void *l, void *w) +void struct_VREvent_t_1016_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1016 *win = (struct winVREvent_t_1016 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1016_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1016 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1016 *win = (struct winVRControllerState001_t_1016 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; @@ -178,7 +178,7 @@ struct winInputAnalogActionData_t_1016 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputAnalogActionData_t_1016_lin_to_win(void *l, void *w) +void struct_InputAnalogActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputAnalogActionData_t_1016 *win = (struct winInputAnalogActionData_t_1016 *)w; InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; @@ -218,7 +218,7 @@ struct winInputDigitalActionData_t_1016 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputDigitalActionData_t_1016_lin_to_win(void *l, void *w) +void struct_InputDigitalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputDigitalActionData_t_1016 *win = (struct winInputDigitalActionData_t_1016 *)w; InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; @@ -248,7 +248,7 @@ struct winInputPoseActionData_t_1016 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputPoseActionData_t_1016_lin_to_win(void *l, void *w) +void struct_InputPoseActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputPoseActionData_t_1016 *win = (struct winInputPoseActionData_t_1016 *)w; InputPoseActionData_t *lin = (InputPoseActionData_t *)l; @@ -274,7 +274,7 @@ struct winInputSkeletalActionData_t_1016 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputSkeletalActionData_t_1016_lin_to_win(void *l, void *w) +void struct_InputSkeletalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputSkeletalActionData_t_1016 *win = (struct winInputSkeletalActionData_t_1016 *)w; InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1017.cpp b/vrclient_x64/vrclient_x64/struct_converters_1017.cpp index 3f8c9050..9e932016 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1017.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1017.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1017 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1017_lin_to_win(void *l, void *w) +void struct_VREvent_t_1017_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1017 *win = (struct winVREvent_t_1017 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1017_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1017 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1017 *win = (struct winVRControllerState001_t_1017 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; @@ -76,7 +76,7 @@ struct winCameraVideoStreamFrameHeader_t_1017 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(void *l, void *w) +void struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(void *l, void *w, uint32_t sz) { struct winCameraVideoStreamFrameHeader_t_1017 *win = (struct winCameraVideoStreamFrameHeader_t_1017 *)w; CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; @@ -216,7 +216,7 @@ struct winInputAnalogActionData_t_1017 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputAnalogActionData_t_1017_lin_to_win(void *l, void *w) +void struct_InputAnalogActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputAnalogActionData_t_1017 *win = (struct winInputAnalogActionData_t_1017 *)w; InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; @@ -256,7 +256,7 @@ struct winInputDigitalActionData_t_1017 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputDigitalActionData_t_1017_lin_to_win(void *l, void *w) +void struct_InputDigitalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputDigitalActionData_t_1017 *win = (struct winInputDigitalActionData_t_1017 *)w; InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; @@ -286,7 +286,7 @@ struct winInputPoseActionData_t_1017 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputPoseActionData_t_1017_lin_to_win(void *l, void *w) +void struct_InputPoseActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputPoseActionData_t_1017 *win = (struct winInputPoseActionData_t_1017 *)w; InputPoseActionData_t *lin = (InputPoseActionData_t *)l; @@ -312,7 +312,7 @@ struct winInputSkeletalActionData_t_1017 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputSkeletalActionData_t_1017_lin_to_win(void *l, void *w) +void struct_InputSkeletalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputSkeletalActionData_t_1017 *win = (struct winInputSkeletalActionData_t_1017 *)w; InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_102.cpp b/vrclient_x64/vrclient_x64/struct_converters_102.cpp index faa3c80a..18f8ebcc 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_102.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_102.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_102 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_102_lin_to_win(void *l, void *w) +void struct_VREvent_t_102_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_102 *win = (struct winVREvent_t_102 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_102_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_102 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_102 *win = (struct winVRControllerState001_t_102 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_103.cpp b/vrclient_x64/vrclient_x64/struct_converters_103.cpp index 25945ed1..7e725e9f 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_103.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_103.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_103 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_103_lin_to_win(void *l, void *w) +void struct_VREvent_t_103_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_103 *win = (struct winVREvent_t_103 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_103_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_103 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_103 *win = (struct winVRControllerState001_t_103 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_103a.cpp b/vrclient_x64/vrclient_x64/struct_converters_103a.cpp index 2be1b19f..fcb43c74 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_103a.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_103a.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_103a { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_103a_lin_to_win(void *l, void *w) +void struct_VREvent_t_103a_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_103a *win = (struct winVREvent_t_103a *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_103a_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_103a { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_103a *win = (struct winVRControllerState001_t_103a *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_104.cpp b/vrclient_x64/vrclient_x64/struct_converters_104.cpp index f03400a7..823c2aea 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_104.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_104.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_104 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_104_lin_to_win(void *l, void *w) +void struct_VREvent_t_104_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_104 *win = (struct winVREvent_t_104 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_104_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_104 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_104 *win = (struct winVRControllerState001_t_104 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_105.cpp b/vrclient_x64/vrclient_x64/struct_converters_105.cpp index b7305afc..cc57e987 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_105.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_105.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_105 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_105_lin_to_win(void *l, void *w) +void struct_VREvent_t_105_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_105 *win = (struct winVREvent_t_105 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_105_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_105 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_105 *win = (struct winVRControllerState001_t_105 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_106.cpp b/vrclient_x64/vrclient_x64/struct_converters_106.cpp index 2a6906d6..5ce6323b 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_106.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_106.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_106 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_106_lin_to_win(void *l, void *w) +void struct_VREvent_t_106_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_106 *win = (struct winVREvent_t_106 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_106_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_106 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_106 *win = (struct winVRControllerState001_t_106 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_107.cpp b/vrclient_x64/vrclient_x64/struct_converters_107.cpp index bd2bb7a0..491f1224 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_107.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_107.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_107 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_107_lin_to_win(void *l, void *w) +void struct_VREvent_t_107_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_107 *win = (struct winVREvent_t_107 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_107_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_107 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_107 *win = (struct winVRControllerState001_t_107 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_108.cpp b/vrclient_x64/vrclient_x64/struct_converters_108.cpp index fac7cfe1..05c09ee3 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_108.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_108.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_108 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_108_lin_to_win(void *l, void *w) +void struct_VREvent_t_108_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_108 *win = (struct winVREvent_t_108 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_108_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_108 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_108 *win = (struct winVRControllerState001_t_108 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_109.cpp b/vrclient_x64/vrclient_x64/struct_converters_109.cpp index d7ccfe08..af9d0e3e 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_109.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_109.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_109 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_109_lin_to_win(void *l, void *w) +void struct_VREvent_t_109_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_109 *win = (struct winVREvent_t_109 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_109_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_109 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_109 *win = (struct winVRControllerState001_t_109 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_113b.cpp b/vrclient_x64/vrclient_x64/struct_converters_113b.cpp index 07b6d85f..9bc72200 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_113b.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_113b.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_113b { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_113b_lin_to_win(void *l, void *w) +void struct_VREvent_t_113b_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_113b *win = (struct winVREvent_t_113b *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_113b_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_113b { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_113b *win = (struct winVRControllerState001_t_113b *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; @@ -76,7 +76,7 @@ struct winCameraVideoStreamFrameHeader_t_113b { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_CameraVideoStreamFrameHeader_t_113b_lin_to_win(void *l, void *w) +void struct_CameraVideoStreamFrameHeader_t_113b_lin_to_win(void *l, void *w, uint32_t sz) { struct winCameraVideoStreamFrameHeader_t_113b *win = (struct winCameraVideoStreamFrameHeader_t_113b *)w; CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; @@ -216,7 +216,7 @@ struct winInputAnalogActionData_t_113b { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputAnalogActionData_t_113b_lin_to_win(void *l, void *w) +void struct_InputAnalogActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputAnalogActionData_t_113b *win = (struct winInputAnalogActionData_t_113b *)w; InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; @@ -256,7 +256,7 @@ struct winInputDigitalActionData_t_113b { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputDigitalActionData_t_113b_lin_to_win(void *l, void *w) +void struct_InputDigitalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputDigitalActionData_t_113b *win = (struct winInputDigitalActionData_t_113b *)w; InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; @@ -286,7 +286,7 @@ struct winInputPoseActionData_t_113b { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputPoseActionData_t_113b_lin_to_win(void *l, void *w) +void struct_InputPoseActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputPoseActionData_t_113b *win = (struct winInputPoseActionData_t_113b *)w; InputPoseActionData_t *lin = (InputPoseActionData_t *)l; @@ -311,7 +311,7 @@ struct winInputSkeletalActionData_t_113b { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputSkeletalActionData_t_113b_lin_to_win(void *l, void *w) +void struct_InputSkeletalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputSkeletalActionData_t_113b *win = (struct winInputSkeletalActionData_t_113b *)w; InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1210.cpp b/vrclient_x64/vrclient_x64/struct_converters_1210.cpp index 9eefca1c..7a92443a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1210.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1210.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1210 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1210_lin_to_win(void *l, void *w) +void struct_VREvent_t_1210_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1210 *win = (struct winVREvent_t_1210 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1210_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1210 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1210_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1210_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1210 *win = (struct winVRControllerState001_t_1210 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; @@ -76,7 +76,7 @@ struct winCameraVideoStreamFrameHeader_t_1210 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_CameraVideoStreamFrameHeader_t_1210_lin_to_win(void *l, void *w) +void struct_CameraVideoStreamFrameHeader_t_1210_lin_to_win(void *l, void *w, uint32_t sz) { struct winCameraVideoStreamFrameHeader_t_1210 *win = (struct winCameraVideoStreamFrameHeader_t_1210 *)w; CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; @@ -216,7 +216,7 @@ struct winInputAnalogActionData_t_1210 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputAnalogActionData_t_1210_lin_to_win(void *l, void *w) +void struct_InputAnalogActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputAnalogActionData_t_1210 *win = (struct winInputAnalogActionData_t_1210 *)w; InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; @@ -256,7 +256,7 @@ struct winInputDigitalActionData_t_1210 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputDigitalActionData_t_1210_lin_to_win(void *l, void *w) +void struct_InputDigitalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputDigitalActionData_t_1210 *win = (struct winInputDigitalActionData_t_1210 *)w; InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; @@ -286,7 +286,7 @@ struct winInputPoseActionData_t_1210 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputPoseActionData_t_1210_lin_to_win(void *l, void *w) +void struct_InputPoseActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputPoseActionData_t_1210 *win = (struct winInputPoseActionData_t_1210 *)w; InputPoseActionData_t *lin = (InputPoseActionData_t *)l; @@ -311,7 +311,7 @@ struct winInputSkeletalActionData_t_1210 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputSkeletalActionData_t_1210_lin_to_win(void *l, void *w) +void struct_InputSkeletalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputSkeletalActionData_t_1210 *win = (struct winInputSkeletalActionData_t_1210 *)w; InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1322.cpp b/vrclient_x64/vrclient_x64/struct_converters_1322.cpp index b7921d2e..5d568064 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1322.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1322.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1322 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1322_lin_to_win(void *l, void *w) +void struct_VREvent_t_1322_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1322 *win = (struct winVREvent_t_1322 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1322_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1322 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1322_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1322_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1322 *win = (struct winVRControllerState001_t_1322 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; @@ -76,7 +76,7 @@ struct winCameraVideoStreamFrameHeader_t_1322 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_CameraVideoStreamFrameHeader_t_1322_lin_to_win(void *l, void *w) +void struct_CameraVideoStreamFrameHeader_t_1322_lin_to_win(void *l, void *w, uint32_t sz) { struct winCameraVideoStreamFrameHeader_t_1322 *win = (struct winCameraVideoStreamFrameHeader_t_1322 *)w; CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; @@ -216,7 +216,7 @@ struct winInputAnalogActionData_t_1322 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputAnalogActionData_t_1322_lin_to_win(void *l, void *w) +void struct_InputAnalogActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputAnalogActionData_t_1322 *win = (struct winInputAnalogActionData_t_1322 *)w; InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; @@ -256,7 +256,7 @@ struct winInputDigitalActionData_t_1322 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputDigitalActionData_t_1322_lin_to_win(void *l, void *w) +void struct_InputDigitalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputDigitalActionData_t_1322 *win = (struct winInputDigitalActionData_t_1322 *)w; InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; @@ -286,7 +286,7 @@ struct winInputPoseActionData_t_1322 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputPoseActionData_t_1322_lin_to_win(void *l, void *w) +void struct_InputPoseActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputPoseActionData_t_1322 *win = (struct winInputPoseActionData_t_1322 *)w; InputPoseActionData_t *lin = (InputPoseActionData_t *)l; @@ -311,7 +311,7 @@ struct winInputSkeletalActionData_t_1322 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputSkeletalActionData_t_1322_lin_to_win(void *l, void *w) +void struct_InputSkeletalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputSkeletalActionData_t_1322 *win = (struct winInputSkeletalActionData_t_1322 *)w; InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1418.cpp b/vrclient_x64/vrclient_x64/struct_converters_1418.cpp index 04ff1346..33acfa8d 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1418.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1418.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1418 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1418_lin_to_win(void *l, void *w) +void struct_VREvent_t_1418_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1418 *win = (struct winVREvent_t_1418 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1418_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1418 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1418_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1418_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1418 *win = (struct winVRControllerState001_t_1418 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; @@ -76,7 +76,7 @@ struct winCameraVideoStreamFrameHeader_t_1418 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_CameraVideoStreamFrameHeader_t_1418_lin_to_win(void *l, void *w) +void struct_CameraVideoStreamFrameHeader_t_1418_lin_to_win(void *l, void *w, uint32_t sz) { struct winCameraVideoStreamFrameHeader_t_1418 *win = (struct winCameraVideoStreamFrameHeader_t_1418 *)w; CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; @@ -216,7 +216,7 @@ struct winInputAnalogActionData_t_1418 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputAnalogActionData_t_1418_lin_to_win(void *l, void *w) +void struct_InputAnalogActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputAnalogActionData_t_1418 *win = (struct winInputAnalogActionData_t_1418 *)w; InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; @@ -256,7 +256,7 @@ struct winInputDigitalActionData_t_1418 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputDigitalActionData_t_1418_lin_to_win(void *l, void *w) +void struct_InputDigitalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputDigitalActionData_t_1418 *win = (struct winInputDigitalActionData_t_1418 *)w; InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; @@ -286,7 +286,7 @@ struct winInputPoseActionData_t_1418 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputPoseActionData_t_1418_lin_to_win(void *l, void *w) +void struct_InputPoseActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputPoseActionData_t_1418 *win = (struct winInputPoseActionData_t_1418 *)w; InputPoseActionData_t *lin = (InputPoseActionData_t *)l; @@ -311,7 +311,7 @@ struct winInputSkeletalActionData_t_1418 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputSkeletalActionData_t_1418_lin_to_win(void *l, void *w) +void struct_InputSkeletalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputSkeletalActionData_t_1418 *win = (struct winInputSkeletalActionData_t_1418 *)w; InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1517.cpp b/vrclient_x64/vrclient_x64/struct_converters_1517.cpp index 15ec0c04..7e244146 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1517.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1517.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1517 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1517_lin_to_win(void *l, void *w) +void struct_VREvent_t_1517_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1517 *win = (struct winVREvent_t_1517 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1517_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1517 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1517_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1517_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1517 *win = (struct winVRControllerState001_t_1517 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; @@ -76,7 +76,7 @@ struct winCameraVideoStreamFrameHeader_t_1517 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_CameraVideoStreamFrameHeader_t_1517_lin_to_win(void *l, void *w) +void struct_CameraVideoStreamFrameHeader_t_1517_lin_to_win(void *l, void *w, uint32_t sz) { struct winCameraVideoStreamFrameHeader_t_1517 *win = (struct winCameraVideoStreamFrameHeader_t_1517 *)w; CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; @@ -216,7 +216,7 @@ struct winInputAnalogActionData_t_1517 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputAnalogActionData_t_1517_lin_to_win(void *l, void *w) +void struct_InputAnalogActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputAnalogActionData_t_1517 *win = (struct winInputAnalogActionData_t_1517 *)w; InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; @@ -256,7 +256,7 @@ struct winInputDigitalActionData_t_1517 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputDigitalActionData_t_1517_lin_to_win(void *l, void *w) +void struct_InputDigitalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputDigitalActionData_t_1517 *win = (struct winInputDigitalActionData_t_1517 *)w; InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; @@ -286,7 +286,7 @@ struct winInputPoseActionData_t_1517 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputPoseActionData_t_1517_lin_to_win(void *l, void *w) +void struct_InputPoseActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputPoseActionData_t_1517 *win = (struct winInputPoseActionData_t_1517 *)w; InputPoseActionData_t *lin = (InputPoseActionData_t *)l; @@ -311,7 +311,7 @@ struct winInputSkeletalActionData_t_1517 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputSkeletalActionData_t_1517_lin_to_win(void *l, void *w) +void struct_InputSkeletalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputSkeletalActionData_t_1517 *win = (struct winInputSkeletalActionData_t_1517 *)w; InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; diff --git a/vrclient_x64/vrclient_x64/struct_converters_1610.cpp b/vrclient_x64/vrclient_x64/struct_converters_1610.cpp index f56f5622..2bbc55ef 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1610.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1610.cpp @@ -15,14 +15,14 @@ struct winVREvent_t_1610 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VREvent_t_1610_lin_to_win(void *l, void *w) +void struct_VREvent_t_1610_lin_to_win(void *l, void *w, uint32_t sz) { struct winVREvent_t_1610 *win = (struct winVREvent_t_1610 *)w; VREvent_t *lin = (VREvent_t *)l; win->eventType = lin->eventType; win->trackedDeviceIndex = lin->trackedDeviceIndex; win->eventAgeSeconds = lin->eventAgeSeconds; - win->data = lin->data; + memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); } void struct_VREvent_t_1610_win_to_lin(void *w, void *l) @@ -44,7 +44,7 @@ struct winVRControllerState001_t_1610 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_VRControllerState001_t_1610_lin_to_win(void *l, void *w) +void struct_VRControllerState001_t_1610_lin_to_win(void *l, void *w, uint32_t sz) { struct winVRControllerState001_t_1610 *win = (struct winVRControllerState001_t_1610 *)w; VRControllerState001_t *lin = (VRControllerState001_t *)l; @@ -76,7 +76,7 @@ struct winCameraVideoStreamFrameHeader_t_1610 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(void *l, void *w) +void struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(void *l, void *w, uint32_t sz) { struct winCameraVideoStreamFrameHeader_t_1610 *win = (struct winCameraVideoStreamFrameHeader_t_1610 *)w; CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; @@ -216,7 +216,7 @@ struct winInputAnalogActionData_t_1610 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputAnalogActionData_t_1610_lin_to_win(void *l, void *w) +void struct_InputAnalogActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputAnalogActionData_t_1610 *win = (struct winInputAnalogActionData_t_1610 *)w; InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; @@ -256,7 +256,7 @@ struct winInputDigitalActionData_t_1610 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputDigitalActionData_t_1610_lin_to_win(void *l, void *w) +void struct_InputDigitalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputDigitalActionData_t_1610 *win = (struct winInputDigitalActionData_t_1610 *)w; InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; @@ -286,7 +286,7 @@ struct winInputPoseActionData_t_1610 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputPoseActionData_t_1610_lin_to_win(void *l, void *w) +void struct_InputPoseActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputPoseActionData_t_1610 *win = (struct winInputPoseActionData_t_1610 *)w; InputPoseActionData_t *lin = (InputPoseActionData_t *)l; @@ -311,7 +311,7 @@ struct winInputSkeletalActionData_t_1610 { } __attribute__ ((ms_struct)); #pragma pack(pop) -void struct_InputSkeletalActionData_t_1610_lin_to_win(void *l, void *w) +void struct_InputSkeletalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) { struct winInputSkeletalActionData_t_1610 *win = (struct winInputSkeletalActionData_t_1610 *)w; InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l;